This repository was archived by the owner on Sep 1, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ docker login docker.pkg.github.com -u github-actions -p ${GITHUB_TOKEN}
77
88IMAGE_VERSION=v1.0.0
99IMAGE_TAG=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-uboot:${IMAGE_VERSION}
10+ IMAGE_LATEST_TAG=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-uboot:latest
1011
11- docker build -t $IMAGE_TAG .
12+ docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
1213
13- docker push $IMAGE_TAG
14+ docker push $IMAGE_TAG
15+ docker push $IMAGE_LATEST_TAG
Original file line number Diff line number Diff line change 55
66docker login docker.pkg.github.com -u github-actions -p ${GITHUB_TOKEN}
77
8- IMAGE_VERSION=latest
8+ IMAGE_VERSION=0.0.1
99IMAGE_TAG=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-< course-name> :${IMAGE_VERSION}
10+ IMAGE_TAG_LATEST=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-< course-name> :latest
1011
11- docker build -t $IMAGE_TAG .
12+ docker build -t $IMAGE_TAG -t $IMAGE_TAG_LATEST .
1213
13- docker push $IMAGE_TAG
14+ docker push $IMAGE_TAG
15+ docker push $IMAGE_TAG_LATEST
You can’t perform that action at this time.
0 commit comments