about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-02-23 18:13:12 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-02-23 18:13:12 +0100
commit3d25fe042679e7f5b9095983feb22f46e24c3033 (patch)
tree18b57e7abf4f3edf55f057efd6eb47da698bf0f6 /.github/workflows
parent2c8615fbf8f8085eb836733b27b33c9522c29c71 (diff)
parent0db101ede2eb9f8869932135785b0d83cd05560e (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `.github/workflows/build-image.yml`:
  Upstream changed the workflow a bit.
  Conflict comes from us pushing to ghcr while upstream pushes to dockerhub.
  Ported the upstream changes while still pushing to ghcr.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-image.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml
index 2d1df7211..281fa33b7 100644
--- a/.github/workflows/build-image.yml
+++ b/.github/workflows/build-image.yml
@@ -22,6 +22,7 @@ jobs:
           registry: ghcr.io
           username: ${{ github.repository_owner }}
           password: ${{ secrets.GITHUB_TOKEN }}
+        if: github.event_name != 'pull_request'
       - uses: docker/metadata-action@v3
         id: meta
         with:
@@ -31,6 +32,7 @@ jobs:
           tags: |
             type=edge,branch=main
             type=semver,pattern={{ raw }}
+            type=ref,event=pr
       - uses: docker/build-push-action@v2
         with:
           context: .