borg container image feature/review-docker: pipelines and scripts revisions (#1)
All checks were successful
/ build-docker-image (push) Successful in 8s
All checks were successful
/ build-docker-image (push) Successful in 8s
Co-authored-by: Márcio Fernandes <marcio.fernandes@outlook.pt> Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
33
.gitea/workflows/ docker-image.deploy.beta.yml
Normal file
33
.gitea/workflows/ docker-image.deploy.beta.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
on:
|
||||
push:
|
||||
branches: [ feature/* ]
|
||||
paths:
|
||||
- "docker/**"
|
||||
- ".gitea/**"
|
||||
schedule:
|
||||
- cron: "0 02 * * *"
|
||||
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.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build and push Docker images
|
||||
id: push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ${{gitea.workspace}}/docker/Dockerfile
|
||||
push: true
|
||||
tags: git.limbosolutions.com/kb/borg-backup:alpha
|
||||
Reference in New Issue
Block a user