40 lines
941 B
YAML
40 lines
941 B
YAML
on: [push]
|
|
jobs:
|
|
desec-script:
|
|
runs-on: docker
|
|
container:
|
|
image: node:latest
|
|
steps:
|
|
- run: |
|
|
curl -fsSL https://get.docker.com -o get-docker.sh
|
|
sh get-docker.sh
|
|
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Login to Forgejo Container Registry
|
|
uses: docker/login-action@v4
|
|
with:
|
|
registry: git.devdoes.work
|
|
username: devaine
|
|
password: ${{ secrets.PACKAGE_TOKEN }}
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v4
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v4
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
platforms: linux/amd64,linux/arm64
|
|
push: true
|
|
tags: devaine/scripts:desec
|
|
file: server-scripts/desec-ip-sync/Dockerfile
|
|
|
|
|
|
#- run: |
|
|
# ls -la
|
|
# echo "test"
|
|
|