diff --git a/twostep-container-build/README.md b/twostep-container-build/README.md index 0884c40..d7cb10c 100644 --- a/twostep-container-build/README.md +++ b/twostep-container-build/README.md @@ -106,13 +106,13 @@ CMD ["bash"] [`Containerfile`](examples/Containerfile) ```Containerfile -ARG TAG=latest +ARG TAG=dependencies-latest -FROM ghcr.io/cdcgov/cfa-actions-dependencies:${TAG} +FROM ghcr.io/cdcgov/cfa-actions:${TAG} COPY twostep-container-build/example/Containerfile /app/. CMD ["bash"] ``` -Notice the `TAG` argument which is passed to the second container file. During runs of the action, `TAG` takes the value of the branch name or `latest` if the branch is the main branch. \ No newline at end of file +Notice the `TAG` argument which is passed to the second container file. During runs of the action, `TAG` takes the value of the `dependencies-[branch name]` or `dependencies-latest` if the branch is the main branch. \ No newline at end of file diff --git a/twostep-container-build/examples/Containerfile b/twostep-container-build/examples/Containerfile index 9969378..59e6117 100644 --- a/twostep-container-build/examples/Containerfile +++ b/twostep-container-build/examples/Containerfile @@ -1,7 +1,7 @@ -ARG TAG=latest +ARG TAG=dependencies-latest ARG GH_SHA=undefined -FROM ghcr.io/cdcgov/cfa-actions-dependencies:${TAG} +FROM ghcr.io/cdcgov/cfa-actions:${TAG} LABEL GH_SHA=${GH_SHA} COPY twostep-container-build/examples/Containerfile /app/.