This repository was archived by the owner on Sep 1, 2022. It is now read-only.
File tree 3 files changed +10
-6
lines changed
learninglab/course-template/.github.to.move/workflows/action
3 files changed +10
-6
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}
7
7
8
8
IMAGE_VERSION=v1.0.0
9
9
IMAGE_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
10
11
11
- docker build -t $IMAGE_TAG .
12
+ docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
12
13
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 5
5
6
6
docker login docker.pkg.github.com -u github-actions -p ${GITHUB_TOKEN}
7
7
8
- IMAGE_VERSION=latest
8
+ IMAGE_VERSION=0.0.1
9
9
IMAGE_TAG=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-< course-name> :${IMAGE_VERSION}
10
+ IMAGE_LATEST_TAG=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-< course-name> :latest
10
11
11
- docker build -t $IMAGE_TAG .
12
+ docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
12
13
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 1
- FROM docker.pkg.github.com/github/codeql-learninglab-actions/<course-package>
1
+ FROM docker.pkg.github.com/github/codeql-learninglab-actions/<course-package>:0.0.1
You can’t perform that action at this time.
0 commit comments