docker-zig-yarn/.forgejo/workflows/build.yaml
Madeorsk 73802d9034
Some checks failed
/ build_docker (push) Failing after 9s
Initial configuration and Dockerfile.
2025-01-14 11:18:36 +01:00

34 lines
1,001 B
YAML

on:
push:
tags:
- "*"
jobs:
build_docker:
runs-on: docker
container:
image: docker.zeptotech.net/dind-node
credentials:
username: ${{ vars.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
services:
dind:
image: docker.zeptotech.net/dind-tcp
credentials:
username: ${{ vars.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
ports:
- 2377:2375
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: docker.zeptotech.net
username: ${{ vars.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- uses: docker/setup-buildx-action@v3
with:
endpoint: tcp://localhost:2377
- uses: docker/build-push-action@v6
with:
push: true
tags: zeptotech/zig-yarn:${{ github.ref_name }}