aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-08-22 15:21:44 +0100
committerGravatar Chris Lovering <[email protected]>2023-08-22 15:21:44 +0100
commitfe0f98cbfd063aa97e8abae0d5ea96091bd241fb (patch)
treed9f2864382f59805e5329e8c1dad9b2fe4da77bf
parentTag ghcr image with short commit sha (diff)
Ensure images are pushed to ghcr on push to main
-rw-r--r--.github/workflows/build-deploy.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml
index d21b092..3b7e15b 100644
--- a/.github/workflows/build-deploy.yml
+++ b/.github/workflows/build-deploy.yml
@@ -48,7 +48,7 @@ jobs:
with:
context: .
file: ./Dockerfile
- push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
+ push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
cache-from: type=registry,ref=ghcr.io/python-discord/metricity:latest
cache-to: type=inline
tags: ${{ steps.meta.outputs.tags }}