linuxserver-mods/.gitea/workflows/mods.yml
Michel Roux d35ed19360
All checks were successful
dl / skip-chown (push) Successful in 21s
dl / wireguard-ipv6 (push) Successful in 21s
test: ⚗️ test if default_branch hook exists on gitea
2024-05-15 20:50:04 +02:00

36 lines
1.1 KiB
YAML

name: dl
on: [push]
jobs:
skip-chown:
runs-on: ubuntu-latest
container: docker
steps:
- run: apk add git nodejs
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: skip-chown
push: ${{ gitea.ref_name == gitea.event.repository.default_branch || gitea.ref_type == 'tag' }}
tags: xefir/mods:skip-chown
wireguard-ipv6:
runs-on: ubuntu-latest
container: docker
steps:
- run: apk add git nodejs
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: wireguard-ipv6
push: ${{ gitea.ref_name == gitea.event.repository.default_branch || gitea.ref_type == 'tag' }}
tags: xefir/mods:wireguard-ipv6