osic-stacks/.gitea/workflows/release.yml
Mario1159 e3ad78c3fc
Some checks failed
release / dockerbuild (push) Failing after 1m13s
Change container image
2023-09-21 23:10:32 -03:00

34 lines
864 B
YAML

name: release
on:
push:
branches: [ cicd ]
jobs:
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: 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
context: .
file: ./base/desktop.Dockerfile