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

32 lines
805 B
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:
runs-on: ubuntu-latest
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
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: .
2023-09-22 01:18:05 +00:00
file: ./base/desktop.Dockerfile