Skip to content

Commit

Permalink
Remove not needed functions from docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanaobrien authored and yunimoo committed Jul 14, 2024
1 parent 6db530d commit d40659a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ jobs:
flavor: |
latest=false
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/fix-docker-build-architecture' }}
type=pep440,pattern={{raw}}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
- name: Build and push all platforms
id: build-and-push
Expand All @@ -76,14 +75,3 @@ jobs:
# https://github.com/rust-lang/cargo/issues/10583
build-args: |
CARGO_NET_GIT_FETCH_WITH_CLI=true
- name: Sign the images with GitHub OIDC Token
env:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
TAGS: ${{ steps.set-tag.outputs.tags }}
run: |
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}

0 comments on commit d40659a

Please sign in to comment.