1159cl/.gitea/workflows/docker.yml

29 lines
597 B
YAML
Raw Normal View History

2023-05-17 23:24:51 +00:00
name: Build docker image
on:
push:
branches: [ main ]
jobs:
build-image:
runs-on: ubuntu-latest
timeout-minutes: 5
2023-05-18 01:03:44 +00:00
needs: test
2023-05-17 23:24:51 +00:00
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: docker build -t git.1159.cl/mario1159/1159cl:latest .
- name: Authentication
uses: docker/login-action@v2
with:
registry: git.1159.cl
username: ${{ github.repository_owner }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Push
run: push git.1159.cl/mario1159/1159cl:latest