mstar-webserver/.forgejo/workflows/docker.yaml
mstar 1f4d412055
Some checks failed
/ docker (push) Failing after 10s
Now push is the problem
2024-12-30 17:46:41 +01:00

28 lines
698 B
YAML

on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-22.04
steps:
-
name: Login to Registry
uses: docker/login-action@v3
with:
registry: ${{ env.GITHUB_SERVER_URL }}
username: ${{ env.GITHUB_REPOSITORY_OWNER }}
password: ${{ env.GITHUB_TOKEN }}
# -
# 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:
push: true
tags: ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}:latest