Remove not needed functions from docker.yml

This commit is contained in:
Ethan O'Brien 2024-07-10 22:57:06 -05:00 committed by GitHub
parent bc3af0ee48
commit 48b6948a76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,6 @@ jobs:
latest=false
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=pep440,pattern={{raw}}
- name: Build and push all platforms
id: build-and-push
@ -77,14 +76,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}