1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 04:18:46 +00:00

CI: Figuring out the branch to image name

This commit is contained in:
Skyler Mäntysaari
2021-09-02 21:09:37 +03:00
committed by GitHub
parent 18c6aeeafa
commit 227465e2d6

View File

@@ -20,12 +20,13 @@ jobs:
run: | run: |
DOCKER_IMAGE=phusion/baseimage DOCKER_IMAGE=phusion/baseimage
VERSION=focal-test VERSION=focal-test
GIT_BRANCH=${GITHUB_REF##*/}
TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}" TAGS="${DOCKER_IMAGE}:${GIT_BRANCH}"
# Set output parameters. # Set output parameters.
echo ::set-output name=tags::${TAGS} echo ::set-output name=tags::${TAGS}
echo ::set-output name=branch::${GIT_BRANCH}
echo ::set-output name=docker_image::${DOCKER_IMAGE} echo ::set-output name=docker_image::${DOCKER_IMAGE}
- name: Set up QEMU - name: Set up QEMU