1159cl/.gitea/workflows/docker.yml
Mario1159 7f5e18eaa2
Some checks failed
Build docker image / test (push) Successful in 29s
Build docker image / build-image (push) Failing after 2m34s
Update workflows
2023-05-18 00:41:42 -04:00

41 lines
798 B
YAML

name: Build docker image
on:
push:
branches: [ main ]
jobs:
test:
uses: ./.gitea/workflows/deno.yml
build-image:
runs-on: ubuntu-latest
timeout-minutes: 5
needs: test
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update repository
run: apt update
- name: test docker
run: docker login
- name: Authentication
uses: docker/login-action@v2
with:
registry: git.1159.cl
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: mario1159/1159cl:latest