Add .gitea/workflows/docker-image.deploy.yml
Some checks failed
/ build-docker-image (push) Failing after 18s
Some checks failed
/ build-docker-image (push) Failing after 18s
This commit is contained in:
29
.gitea/workflows/docker-image.deploy.yml
Normal file
29
.gitea/workflows/docker-image.deploy.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "act-runner/**"
|
||||||
|
- ".gitea/**"
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-docker-image:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# - name: Log in to git.limbosolutions.com docker registry
|
||||||
|
# uses: docker/login-action@v3
|
||||||
|
# with:
|
||||||
|
# registry: git.limbosolutions.com
|
||||||
|
# username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
# password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build and push Docker images
|
||||||
|
id: push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
context: ${{gitea.workspace}}/docker
|
||||||
|
#push: true
|
||||||
|
tags: git.limbosolutions.com/kb/ansible:latest
|
||||||
Reference in New Issue
Block a user