build(workflows): hail mary for arm64 build
Some checks failed
/ desec-script (push) Failing after 1m45s
Some checks failed
/ desec-script (push) Failing after 1m45s
This commit is contained in:
parent
ed8009645c
commit
47d6faf57a
3 changed files with 31 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
desec-script:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:latest
|
image: node:latest
|
||||||
|
|
@ -9,6 +9,26 @@ jobs:
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
ls -la
|
cd server-scripts/desec-ip-sync/
|
||||||
echo "test"
|
|
||||||
|
- name: Login to Forgejo Container Registry
|
||||||
|
uses: docker/login-action@v4
|
||||||
|
with:
|
||||||
|
registry: git.devdoes.work
|
||||||
|
username: devaine
|
||||||
|
password: ${{ secrets.USER_TOKEN }}
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v4
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: devaine/desec-script:latest
|
||||||
|
|
||||||
|
#- run: |
|
||||||
|
# ls -la
|
||||||
|
# echo "test"
|
||||||
|
|
||||||
|
|
|
||||||
4
server-scripts/desec-ip-sync/Dockerfile
Normal file
4
server-scripts/desec-ip-sync/Dockerfile
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
FROM --platform=linux/amd64 node:latest
|
||||||
|
|
||||||
|
RUN ["bash", "run.bash"]
|
||||||
|
|
||||||
4
server-scripts/desec-ip-sync/docker-compose.yml
Normal file
4
server-scripts/desec-ip-sync/docker-compose.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
services:
|
||||||
|
desec-script:
|
||||||
|
image: git.devdoes.work/devaine/desec-script:latest
|
||||||
|
container_name: desec-script
|
||||||
Loading…
Add table
Add a link
Reference in a new issue