home.kaderli.dev/.gitea/workflows/build.yaml
Severin Kaderli f0b9dcc418
All checks were successful
Build & Push Docker Image / build-and-push (push) Successful in 25s
Fix .yaml syntax
2023-10-21 17:41:28 +02:00

20 lines
No EOL
542 B
YAML

name: Build & Push Docker Image
on: push
jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: registry.gitlab.com/severinkaderli/registry
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
tags: home.kaderli.dev