Use build-args for setting multi stage push tag
All checks were successful
release / dockerbuild (push) Successful in 21m22s
All checks were successful
release / dockerbuild (push) Successful in 21m22s
This commit is contained in:
parent
e5905debb2
commit
c5047963de
@ -16,9 +16,6 @@ jobs:
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
@ -29,9 +26,8 @@ jobs:
|
||||
- name: Build desktop base
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: false
|
||||
load: true
|
||||
tags: osicstacks-base-desktop
|
||||
push: true
|
||||
tags: git.1159.cl/mario1159/osicstacks-base-desktop
|
||||
platforms: linux/amd64
|
||||
context: .
|
||||
file: ./base/desktop.Dockerfile
|
||||
@ -39,9 +35,9 @@ jobs:
|
||||
- name: Build web base
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: false
|
||||
load: true
|
||||
tags: osicstacks-base-web
|
||||
push: true
|
||||
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-desktop
|
||||
tags: git.1159.cl/mario1159/osicstacks-base-web
|
||||
platforms: linux/amd64
|
||||
context: .
|
||||
file: ./base/web.Dockerfile
|
@ -1,6 +1,6 @@
|
||||
# OSIC Stacks - osicstacks-base-arch
|
||||
# OSIC Stacks - osicstacks-base-desktop
|
||||
# Base image for OSIC Stacks
|
||||
FROM greyltc/archlinux-aur:paru
|
||||
FROM greyltc/archlinux-aur:paru as osicstacks-base-desktop
|
||||
|
||||
# Update packages
|
||||
RUN pacman -Syuq --noconfirm
|
||||
|
@ -1,6 +1,7 @@
|
||||
# OSIC Stacks - osicstacks-base-web
|
||||
# Base image for OSIC Stacks
|
||||
FROM osicstacks-base-desktop
|
||||
ARG BASE_IMG=osicstacks-base-desktop
|
||||
FROM $BASE_IMG as osicstacks-base-web
|
||||
|
||||
# Update packages
|
||||
RUN sudo pacman -Syuq --noconfirm
|
||||
|
@ -1,6 +1,6 @@
|
||||
# OSIC Stacks - analog-heavy-arch
|
||||
# Dev enviroment for analog circuits development using xschem and klayout.
|
||||
ARG BASE_IMG=osicstacks-base-native
|
||||
ARG BASE_IMG=osicstacks-base-desktop
|
||||
FROM $BASE_IMG as analog-heavy
|
||||
|
||||
# Update packages
|
||||
|
@ -1,6 +1,6 @@
|
||||
# OSIC Stacks - analog-xk
|
||||
# Dev enviroment for analog circuits development using xschem and klayout.
|
||||
ARG BASE_IMG=osicstacks-base-native
|
||||
ARG BASE_IMG=osicstacks-base-desktop
|
||||
FROM $BASE_IMG as analog-xk
|
||||
|
||||
# Update packages
|
||||
|
@ -1,6 +1,6 @@
|
||||
# OSIC Stacks - analog-xm
|
||||
# Dev enviroment for analog circuits development using xschem and magic.
|
||||
ARG BASE_IMG=osicstacks-base-native
|
||||
ARG BASE_IMG=osicstacks-base-desktop
|
||||
FROM $BASE_IMG as analog-xm
|
||||
|
||||
# Update packages
|
||||
|
@ -1,6 +1,6 @@
|
||||
# OSIC Stacks - analog-xk-arch
|
||||
# Dev enviroment for analog circuits development using xschem and klayout.
|
||||
ARG BASE_IMG=osicstacks-base-native
|
||||
ARG BASE_IMG=osicstacks-base-desktop
|
||||
FROM $BASE_IMG as digital-ator
|
||||
|
||||
# Update packages
|
||||
|
Loading…
Reference in New Issue
Block a user