Files
debian-moustache/.gitea/workflows/docker.yml
T
Ludovic Cartier f7ae7dd8c1
docker / docker (push) Failing after 54s
initial commit
2025-01-03 19:43:04 +01:00

42 lines
974 B
YAML

---
name: docker
on:
push:
branches:
- "main"
jobs:
docker:
#runs-on: ubuntu-latest
container:
image: debian:stable-slim
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.8.0
- name: Login to Docker registry
uses: docker/login-action@v3.3.0
with:
registry: git.bbee.fr
username: ${{ var.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_API_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6.10.0
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
with:
context: .
file: ./Dockerfile
platforms: |
linux/amd64
linux/arm64
push: true
tags: git.bbee.fr/${{ github.repository }}:latest