osic-stacks/.gitea/workflows/release.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 8: cannot unmarshal !!str `amd64` into model.Job
2023-09-22 00:47:34 -03:00

39 lines
983 B
YAML

name: release
on:
push:
branches: [ cicd ]
jobs:
runs-on: amd64
dockerbuild:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- 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:
registry: git.1159.cl
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build desktop base
uses: docker/build-push-action@v4
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
with:
push: true
tags: git.1159.cl/mario1159/osicstacks-base-desktop:latest
platforms: linux/amd64
context: .
file: ./base/desktop.Dockerfile