Skip to content

Commit

Permalink
Renaming SHA to GH_SHA in build context
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Dec 16, 2024
1 parent ba5f0ec commit c2b0364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test-twostep-container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ jobs:
image: cdcgov/cfa-actions

# Testing passing arguments
- name: Removing the image
run: |
docker rm ghcr.io/cdcgov/cfa-actions:${{ steps.twostep-1.outputs.tag }}
- name: Two-step build with args
id: twostep-2
uses: ./twostep-container-build
Expand Down
4 changes: 2 additions & 2 deletions twostep-container-build/examples/Containerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG TAG=latest
ARG SHA=undefined
ARG GH_SHA=undefined

FROM ghcr.io/cdcgov/cfa-actions:${TAG}

LABEL SHA=${SHA}
LABEL GH_SHA=${GH_SHA}
COPY twostep-container-build/examples/Containerfile /app/.
CMD ["bash"]

0 comments on commit c2b0364

Please sign in to comment.