osic-stacks/.gitea/workflows/release.yml

123 lines
3.8 KiB
YAML
Raw Normal View History

2023-09-22 01:20:42 +00:00
name: release
on:
push:
2023-09-22 01:28:17 +00:00
branches: [ cicd ]
2023-09-22 01:20:42 +00:00
jobs:
dockerbuild:
2023-09-22 03:48:52 +00:00
runs-on: [ubuntu-latest, amd64]
2023-09-22 02:10:32 +00:00
container:
image: catthehacker/ubuntu:act-latest
2023-09-22 01:20:42 +00:00
steps:
- name: Checkout
uses: actions/checkout@v3
2023-09-22 01:33:31 +00:00
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
2023-09-22 01:20:42 +00:00
- name: Authentication
uses: docker/login-action@v2
with:
registry: git.1159.cl
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build desktop base
uses: docker/build-push-action@v4
with:
push: true
tags: git.1159.cl/mario1159/osicstacks-base-desktop
2023-09-22 02:14:44 +00:00
platforms: linux/amd64
2023-09-22 01:20:42 +00:00
context: .
2023-09-22 04:29:02 +00:00
file: ./base/desktop.Dockerfile
- name: Build web base
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-desktop
tags: git.1159.cl/mario1159/osicstacks-base-web
2023-09-22 04:29:02 +00:00
platforms: linux/amd64
context: .
file: ./base/web.Dockerfile
- name: Build analog-xk desktop
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-desktop
tags: git.1159.cl/mario1159/analog-xk-desktop
platforms: linux/amd64
context: .
file: ./stacks/analog-xk.Dockerfile
- name: Build analog-xk web
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-web
tags: git.1159.cl/mario1159/analog-xk-web
platforms: linux/amd64
context: .
file: ./stacks/analog-xk.Dockerfile
- name: Build analog-xm desktop
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-desktop
tags: git.1159.cl/mario1159/analog-xm-desktop
platforms: linux/amd64
context: .
file: ./stacks/analog-xm.Dockerfile
- name: Build analog-xm web
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-web
tags: git.1159.cl/mario1159/analog-xm-web
platforms: linux/amd64
context: .
file: ./stacks/analog-xm.Dockerfile
- name: Build analog-heavy desktop
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-desktop
tags: git.1159.cl/mario1159/analog-heavy-desktop
platforms: linux/amd64
context: .
file: ./stacks/analog-heavy.Dockerfile
- name: Build analog-heavy web
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-web
tags: git.1159.cl/mario1159/analog-heavy-web
platforms: linux/amd64
context: .
file: ./stacks/analog-heavy.Dockerfile
- name: Build digital-ator desktop
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-web
tags: git.1159.cl/mario1159/analog-xm-web
platforms: linux/amd64
context: .
file: ./stacks/digital-ator.Dockerfile
- name: Build digital-ator web
uses: docker/build-push-action@v4
with:
push: true
build-args: BASE_IMG=git.1159.cl/mario1159/osicstacks-base-web
tags: git.1159.cl/mario1159/analog-xm-web
platforms: linux/amd64
context: .
file: ./stacks/digital-ator.Dockerfile