synthwave/.forgejo/workflows/deploy.yml

37 lines
817 B
YAML
Raw Normal View History

2024-07-28 14:12:06 +00:00
name: deploy
on:
push:
branches:
2024-07-28 14:16:22 +00:00
- main
2024-07-28 14:12:06 +00:00
jobs:
deploy:
runs-on: host
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
registry: git.hydrar.de
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
2024-08-16 18:42:02 +00:00
# platforms: linux/amd64,linux/arm64
platforms: linux/amd64
2024-07-28 14:12:06 +00:00
push: true
tags: git.hydrar.de/synthwrld/synthwave:latest