36 lines
1.1 KiB
YAML
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
|