Skip to content

Commit

Permalink
Roll out non-arm hash
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed May 11, 2024
1 parent 4c49544 commit 8bf3c7b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=ref,event=branch
type=sha,prefix=commit-
type=raw,value=${{ env.BRANCH_NAME }}-arm,enable=${{ env.BUILD_ARM }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ jobs:
id: files-hash
run: |
DIR_HASH=$(echo -n ${{ hashFiles('website/**', '.github/workflows/website.yml') }})
if [ ${{ env.BUILD_ARM }} == true ]; then
echo "NON_ARM_HASH=$DIR_HASH" >> $GITHUB_ENV
echo "DIR_HASH=$DIR_HASH-arm" >> $GITHUB_ENV
else
echo "DIR_HASH=$NON_ARM_HASH" >> $GITHUB_ENV
fi
echo "DIR_HASH=$NON_ARM_HASH" >> $GITHUB_ENV
- name: Setup Docker metadata
id: dockerMetadata
Expand All @@ -62,7 +57,6 @@ jobs:
type=ref,event=branch
type=sha,prefix=commit-
type=raw,value=${{ env.BRANCH_NAME }}-arm,enable=${{ env.BUILD_ARM }}
type=raw,value=${{ env.NON_ARM_HASH }},enable=${{ env.BUILD_ARM }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down

0 comments on commit 8bf3c7b

Please sign in to comment.