add gitea actions workflow to publish docker image
Publish Docker image / build (push) Has been cancelled
Publish Docker image / build (push) Has been cancelled
This commit is contained in:
1 parent
2927040354
commit
34da40abd6
2 files changed
+26
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: Publish Docker image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to Gitea registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.d4nn13.de
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.d4nn13.de/d4nn13/koncad:latest
|
||||
Reference in new issue
Block a user