Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/action/image/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ docker login docker.pkg.github.com -u github-actions -p ${GITHUB_TOKEN}

IMAGE_VERSION=0.0.1
IMAGE_TAG=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-<course-name>:${IMAGE_VERSION}
IMAGE_TAG_LATEST=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-<course-name>:latest
IMAGE_LATEST_TAG=docker.pkg.github.com/github/codeql-learninglab-actions/courses-cpp-<course-name>:latest

docker build -t $IMAGE_TAG -t $IMAGE_TAG_LATEST .
docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
Comment thread
adityasharad marked this conversation as resolved.

docker push $IMAGE_TAG
docker push $IMAGE_TAG_LATEST
docker push $IMAGE_LATEST_TAG