mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-15 10:54:03 +01:00
Adjusted makefile and workflow to build alpine and debian image
This commit is contained in:
committed by
Samuel Laulhau
parent
39bc2f0d89
commit
11869a23a1
11
.github/workflows/build_push.yml
vendored
11
.github/workflows/build_push.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user