Files
ansible/.gitea/workflows/docker-image.deploy.yml
Márcio Fernandes 522a2f854b
All checks were successful
/ build-docker-image (push) Successful in 7s
First working release :)
2024-09-07 02:28:07 +01:00

27 lines
741 B
YAML

on:
push
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: ${{gitea.workspace}}/docker
file: ${{gitea.workspace}}/docker/Dockerfile
push: true
tags: git.limbosolutions.com/kb/ansible:latest