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
|
- name: Set up Docker BuildX
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2
|
|
||||||
|
|
||||||
- name: Authentication
|
- name: Authentication
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
@ -29,9 +26,8 @@ jobs:
|
|||||||
- name: Build desktop base
|
- name: Build desktop base
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: false
|
push: true
|
||||||
load: true
|
tags: git.1159.cl/mario1159/osicstacks-base-desktop
|
||||||
tags: osicstacks-base-desktop
|
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
context: .
|
context: .
|
||||||
file: ./base/desktop.Dockerfile
|
file: ./base/desktop.Dockerfile
|
||||||
@ -39,9 +35,9 @@ jobs:
|
|||||||
- name: Build web base
|
- name: Build web base
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: false
|
push: true
|
||||||
load: true
|
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-desktop
|
||||||
tags: osicstacks-base-web
|
tags: git.1159.cl/mario1159/osicstacks-base-web
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
context: .
|
context: .
|
||||||
file: ./base/web.Dockerfile
|
file: ./base/web.Dockerfile
|
@ -1,6 +1,6 @@
|
|||||||
# OSIC Stacks - osicstacks-base-arch
|
# OSIC Stacks - osicstacks-base-desktop
|
||||||
# Base image for OSIC Stacks
|
# Base image for OSIC Stacks
|
||||||
FROM greyltc/archlinux-aur:paru
|
FROM greyltc/archlinux-aur:paru as osicstacks-base-desktop
|
||||||
|
|
||||||
# Update packages
|
# Update packages
|
||||||
RUN pacman -Syuq --noconfirm
|
RUN pacman -Syuq --noconfirm
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# OSIC Stacks - osicstacks-base-web
|
# OSIC Stacks - osicstacks-base-web
|
||||||
# Base image for OSIC Stacks
|
# Base image for OSIC Stacks
|
||||||
FROM osicstacks-base-desktop
|
ARG BASE_IMG=osicstacks-base-desktop
|
||||||
|
FROM $BASE_IMG as osicstacks-base-web
|
||||||
|
|
||||||
# Update packages
|
# Update packages
|
||||||
RUN sudo pacman -Syuq --noconfirm
|
RUN sudo pacman -Syuq --noconfirm
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# OSIC Stacks - analog-heavy-arch
|
# OSIC Stacks - analog-heavy-arch
|
||||||
# Dev enviroment for analog circuits development using xschem and klayout.
|
# 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
|
FROM $BASE_IMG as analog-heavy
|
||||||
|
|
||||||
# Update packages
|
# Update packages
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# OSIC Stacks - analog-xk
|
# OSIC Stacks - analog-xk
|
||||||
# Dev enviroment for analog circuits development using xschem and klayout.
|
# 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
|
FROM $BASE_IMG as analog-xk
|
||||||
|
|
||||||
# Update packages
|
# Update packages
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# OSIC Stacks - analog-xm
|
# OSIC Stacks - analog-xm
|
||||||
# Dev enviroment for analog circuits development using xschem and magic.
|
# 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
|
FROM $BASE_IMG as analog-xm
|
||||||
|
|
||||||
# Update packages
|
# Update packages
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# OSIC Stacks - analog-xk-arch
|
# OSIC Stacks - analog-xk-arch
|
||||||
# Dev enviroment for analog circuits development using xschem and klayout.
|
# 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
|
FROM $BASE_IMG as digital-ator
|
||||||
|
|
||||||
# Update packages
|
# Update packages
|
||||||
|
Loading…
Reference in New Issue
Block a user