From 64d539bd4a6f8c2c50a08023198ff59644868a2e Mon Sep 17 00:00:00 2001 From: Nathan Patel <30420600+baconsenpaii@users.noreply.github.com> Date: Fri, 25 Feb 2022 14:51:32 +0000 Subject: [PATCH] actually push docker images --- .github/workflows/docker-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index fd670b4..85f43e6 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -66,7 +66,7 @@ jobs: # Tag `latest` on every commit pushed to master # https://github.com/docker/metadata-action/issues/112 flavor: | - latest=${{ github.ref == 'refs/heads/master' }} + latest=${{ github.ref == 'refs/heads/main' }} # Build and push Docker image with Buildx (don't push on PR) # https://github.com/docker/build-push-action @@ -75,5 +75,6 @@ jobs: uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . + push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}