Format workflow
This commit is contained in:
parent
65429c98da
commit
8143dabd09
|
@ -1,17 +1,23 @@
|
|||
name: Build Docker image
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build_image:
|
||||
name: Build and publish image
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker registry (Forgejo)
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.korhonen.cc
|
||||
username: ${{ secrets.REGISTRY_USER }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build and push image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue