Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Mar 26, 2024
1 parent e83beee commit b8c1678
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fi
echo "skip=$skip" >> "$GITHUB_ENV"
- name: free disk space
if: env.SKIP == "0"
if: env.SKIP == '0'
run: |
set -euxo pipefail
df -h
Expand All @@ -43,7 +43,7 @@ jobs:
sudo docker image prune --all --force
df -h
- name: build image
if: env.SKIP == "0"
if: env.SKIP == '0'
run: |
set -euxo pipefail
package="${{ matrix.package }}"
Expand All @@ -55,7 +55,7 @@ jobs:
echo "img=$img" >> "$GITHUB_ENV"
echo "tag=$tag" >> "$GITHUB_ENV"
- name: push image
if: env.SKIP == "0" && github.ref == 'refs/heads/main'
if: env.SKIP == '0' && github.ref == 'refs/heads/main'
run: |
set -euxo pipefail
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
Expand Down

0 comments on commit b8c1678

Please sign in to comment.