Skip to content

Commit

Permalink
actions: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa committed Oct 1, 2024
1 parent e58a5fd commit 685f877
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

-
name: Login to GitHub Container Registry
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand Down Expand Up @@ -73,14 +73,14 @@ jobs:
provenance: false

- name: Export digest
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
run: |
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload digest
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
name: digests-${{ matrix.runner }}
Expand All @@ -89,7 +89,7 @@ jobs:
retention-days: 1

merge:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
runs-on: ubicloud
needs:
- docker
Expand Down

0 comments on commit 685f877

Please sign in to comment.