diff --git a/.github/workflows/publish-develop-docker.yml b/.github/workflows/publish-develop-docker.yml index c1d2d2e6..35195f46 100644 --- a/.github/workflows/publish-develop-docker.yml +++ b/.github/workflows/publish-develop-docker.yml @@ -24,4 +24,7 @@ jobs: push: true tags: archmonger/conreq:develop - name: Push to GitHub Container Registry - run: docker push ghcr.io/archmonger/conreq:develop + uses: matootie/github-docker@v3.0.0 + with: + accessToken: ${{ github.token }} + tag: develop diff --git a/.github/workflows/publish-latest-docker.yml b/.github/workflows/publish-latest-docker.yml index 9535e952..2d2a1941 100644 --- a/.github/workflows/publish-latest-docker.yml +++ b/.github/workflows/publish-latest-docker.yml @@ -22,7 +22,10 @@ jobs: with: push: true tags: archmonger/conreq:latest,archmonger/conreq:${{ github.event.release.tag_name }} - - name: Push to GitHub Container Registry (latest) - run: docker push ghcr.io/archmonger/conreq:latest && docker push ghcr.io/archmonger/conreq:${{ github.event.release.tag_name }} - - name: Push to GitHub Container Registry (version tag) - run: docker push ghcr.io/archmonger/conreq:${{ github.event.release.tag_name }} + - name: Push to GitHub Container Registry + uses: matootie/github-docker@v3.0.0 + with: + accessToken: ${{ github.token }} + tag: | + latest + ${{ github.event.release.tag_name }}