Skip to content

Commit

Permalink
Update DH_upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dthoward96 authored Sep 25, 2024
1 parent d1402cb commit bac18fa
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/DH_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,22 @@ jobs:
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: cdcgov/seqsender

- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{ github.ref_name }}

- name: docker images
run: docker images
- name: Build and push Docker image
id: push
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: .
file: ./Dockerfile
push: true
tags: |
'v1.2.2'
'latest'
labels: ${{ steps.meta.outputs.labels }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit bac18fa

Please sign in to comment.