Skip to content

Commit

Permalink
test release
Browse files Browse the repository at this point in the history
  • Loading branch information
fqjony committed Dec 5, 2024
1 parent cd44960 commit 18f66a3
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ jobs:
username: "usabilitydynamics"
password: ${{ secrets.DOCKER_TOKEN }}

- name: Push Docker Image
id: docker_push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
push: true
tags: |
usabilitydynamics/udx-worker:${{ steps.gitversion.outputs.semVer }}
usabilitydynamics/udx-worker:latest
- name: Extract Docker Hub Image Digest
- name: Build Docker Image
run: |
docker buildx build \
--platform linux/amd64 \
--tag usabilitydynamics/udx-worker:${{ steps.gitversion.outputs.semVer }} \
--tag usabilitydynamics/udx-worker:latest \
--push \
.
- name: Retrieve Image Digest from Docker Hub
id: retrieve_digest
run: |
echo "IMAGE_DIGEST=${{ steps.docker_push.outputs.digest }}" >> $GITHUB_ENV
DIGEST=$(docker manifest inspect usabilitydynamics/udx-worker:${{ steps.gitversion.outputs.semVer }} | jq -r '.config.digest')
echo "IMAGE_DIGEST=usabilitydynamics/udx-worker@${DIGEST}" >> $GITHUB_ENV
- name: Install Cosign
uses: sigstore/[email protected]
Expand Down

0 comments on commit 18f66a3

Please sign in to comment.