Files
debian-moustache/.gitea/workflows/docker.yml
T
Ludovic Cartier 34524c4231
docker / docker (push) Failing after 17s
rollback action/checkout to v2 - node still needed ?
2025-01-03 19:53:22 +01:00

47 lines
1.0 KiB
YAML

---
name: docker
on:
push:
branches:
- "main"
jobs:
docker:
#runs-on: ubuntu-latest
container:
image: debian:stable-slim
steps:
# - uses: actions/setup-node@v4
# with:
# node-version: lts/iron
#
# # temp debug
# - run: |
# node -v
# npm i -g yarn npm-check-updates
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@v3.8.0
- uses: docker/login-action@v3.3.0
with:
registry: git.bbee.fr
username: ${{ var.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_API_TOKEN }}
- 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