sprout-db-migrations/.gitea/workflows/release.yml
Jake d835b5b76c
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 48s
fix(cicd): adds checkout step
2024-12-20 08:25:58 -03:00

34 lines
809 B
YAML

name: Build and Push Docker Image
on:
push:
branches: [main]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Log in to Docker Hub - Main web app container registry
uses: docker/login-action@v1
with:
registry: gitea.dropgaze.xyz
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: jake/sproute-db-migrations:latest