mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-25 20:07:55 +00:00
CI: Figuring out the branch to image name
This commit is contained in:
committed by
GitHub
parent
18c6aeeafa
commit
227465e2d6
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@@ -20,12 +20,13 @@ jobs:
|
||||
run: |
|
||||
DOCKER_IMAGE=phusion/baseimage
|
||||
VERSION=focal-test
|
||||
|
||||
TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}"
|
||||
GIT_BRANCH=${GITHUB_REF##*/}
|
||||
TAGS="${DOCKER_IMAGE}:${GIT_BRANCH}"
|
||||
|
||||
# Set output parameters.
|
||||
|
||||
echo ::set-output name=tags::${TAGS}
|
||||
echo ::set-output name=branch::${GIT_BRANCH}
|
||||
echo ::set-output name=docker_image::${DOCKER_IMAGE}
|
||||
|
||||
- name: Set up QEMU
|
||||
|
||||
Reference in New Issue
Block a user