Adjusted makefile and workflow to build alpine and debian image

This commit is contained in:
Holger Lösken
2020-05-20 10:56:51 +02:00
committed by Samuel Laulhau
parent 39bc2f0d89
commit 11869a23a1
2 changed files with 56 additions and 1 deletions

View File

@@ -20,8 +20,17 @@ jobs:
id: vars
run: echo ::set-output name=tag::$(echo ${GITHUB_REF:10})
- name: Build the tagged Docker image
- name: Build image from alpine
run: make build-alpine TAG="${{steps.vars.outputs.tag}}"
- name: Push alpine-based image
run: make push-alpine TAG="${{steps.vars.outputs.tag}}"
- name: Build image from debian
run: make build-debian TAG="${{steps.vars.outputs.tag}}"
- name: Push debian-based image
run: make push-debian TAG="${{steps.vars.outputs.tag}}"
- name: Logout from DockerHub
run: docker logout