diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 2f003246..15b836b8 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -1,7 +1,7 @@ name: publish-latest on: workflow_run: - workflows: ["Build"] + workflows: ["build"] types: [completed] jobs: publish-latest: @@ -14,8 +14,6 @@ jobs: uses: actions/checkout@v2 - name: Get image repository run: echo IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV - - name: Get the release - run: echo RELEASE=${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx @@ -32,4 +30,4 @@ jobs: pull: true push: true tags: | - ${{ env.IMAGE_REPOSITORY }}:${{ env.RELEASE }} + ${{ env.IMAGE_REPOSITORY }}:latest