mstar-webserver/.forgejo/workflows/docker.yaml

29 lines
667 B
YAML
Raw Normal View History

2024-12-30 14:20:35 +00:00
on:
push:
branches:
- main
jobs:
docker:
2024-12-30 14:44:02 +00:00
runs-on: ubuntu-22.04-act
2024-12-30 14:20:35 +00:00
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_REPOSITORY }}:latest