Fallback to default GITHUB_TOKEN, if REGISTRY_TOKEN does not exist
This commit is contained in:
5
.github/workflows/apps.yml
vendored
5
.github/workflows/apps.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- apps/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:apps_${{ matrix.app }}"
|
||||
@@ -30,7 +33,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
|
5
.github/workflows/base.yml
vendored
5
.github/workflows/base.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- oses/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:${{ matrix.oses }}"
|
||||
@@ -29,7 +32,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./oses/${{ matrix.oses }}
|
||||
|
7
.github/workflows/bot.yml
vendored
7
.github/workflows/bot.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- bot/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
pushArm:
|
||||
name: "yolks:bot_${{ matrix.tag }}"
|
||||
@@ -40,7 +43,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./bot/${{ matrix.tag }}
|
||||
@@ -75,7 +78,7 @@ jobs:
|
||||
# with:
|
||||
# registry: ghcr.io
|
||||
# username: ${{ github.repository_owner }}
|
||||
# password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
# password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
# - uses: docker/build-push-action@v6
|
||||
# with:
|
||||
# context: ./bot/${{ matrix.tag }}
|
||||
|
5
.github/workflows/box64.yml
vendored
5
.github/workflows/box64.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- box64/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:${{ matrix.tag }}"
|
||||
@@ -27,7 +30,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./box64
|
||||
|
5
.github/workflows/bun.yml
vendored
5
.github/workflows/bun.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- bun/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:bun_${{ matrix.tag }}"
|
||||
@@ -28,7 +31,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./bun
|
||||
|
5
.github/workflows/cassandra.yml
vendored
5
.github/workflows/cassandra.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- cassandra/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:cassandra_${{ matrix.tag }}"
|
||||
@@ -27,7 +30,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./cassandra
|
||||
|
5
.github/workflows/dart.yml
vendored
5
.github/workflows/dart.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- dart/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:dart_${{ matrix.tag }}"
|
||||
@@ -32,7 +35,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./dart
|
||||
|
5
.github/workflows/dotnet.yml
vendored
5
.github/workflows/dotnet.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- dotnet/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:dotnet_${{ matrix.tag }}"
|
||||
@@ -34,7 +37,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./dotnet
|
||||
|
5
.github/workflows/elixir.yml
vendored
5
.github/workflows/elixir.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- elixir/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:elixir_${{ matrix.tag }}"
|
||||
@@ -31,7 +34,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./elixir
|
||||
|
5
.github/workflows/erlang.yml
vendored
5
.github/workflows/erlang.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- erlang/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:erlang_${{ matrix.tag }}"
|
||||
@@ -30,7 +33,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./erlang
|
||||
|
7
.github/workflows/games.yml
vendored
7
.github/workflows/games.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- games/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
pushAMD64:
|
||||
name: "games_AMD64:${{ matrix.game }}"
|
||||
@@ -35,7 +38,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./games/${{ matrix.game }}
|
||||
@@ -67,7 +70,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./games/${{ matrix.game }}
|
||||
|
5
.github/workflows/go.yml
vendored
5
.github/workflows/go.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- go/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:go_${{ matrix.tag }}"
|
||||
@@ -35,7 +38,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./go
|
||||
|
5
.github/workflows/installers.yml
vendored
5
.github/workflows/installers.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- installers/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "installers:{{ matrix.tag }}"
|
||||
@@ -29,7 +32,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./installers
|
||||
|
5
.github/workflows/java.yml
vendored
5
.github/workflows/java.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- java/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:java_${{ matrix.tag }}"
|
||||
@@ -36,7 +39,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./java
|
||||
|
5
.github/workflows/mariadb.yml
vendored
5
.github/workflows/mariadb.yml
vendored
@@ -9,6 +9,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- mariadb/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:mariadb_${{ matrix.tag }}"
|
||||
@@ -37,7 +40,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./mariadb
|
||||
|
5
.github/workflows/mongodb.yml
vendored
5
.github/workflows/mongodb.yml
vendored
@@ -9,6 +9,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- mongodb/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:mongodb_${{ matrix.tag }}"
|
||||
@@ -31,7 +34,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./mongodb
|
||||
|
5
.github/workflows/mono.yml
vendored
5
.github/workflows/mono.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- mono/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:mono_${{ matrix.tag }}"
|
||||
@@ -26,7 +29,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./mono
|
||||
|
5
.github/workflows/nodejs.yml
vendored
5
.github/workflows/nodejs.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- nodejs/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:nodejs_${{ matrix.tag }}"
|
||||
@@ -38,7 +41,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./nodejs
|
||||
|
5
.github/workflows/postgres.yml
vendored
5
.github/workflows/postgres.yml
vendored
@@ -9,6 +9,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- postgres/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:postgres_${{ matrix.tag }}"
|
||||
@@ -34,7 +37,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./postgres
|
||||
|
5
.github/workflows/python.yml
vendored
5
.github/workflows/python.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- python/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:python_${{ matrix.tag }}"
|
||||
@@ -35,7 +38,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./python
|
||||
|
5
.github/workflows/redis.yml
vendored
5
.github/workflows/redis.yml
vendored
@@ -9,6 +9,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- redis/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:redis_${{ matrix.tag }}"
|
||||
@@ -30,7 +33,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./redis
|
||||
|
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- rust/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:rust_${{ matrix.tag }}"
|
||||
@@ -30,7 +33,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./rust
|
||||
|
5
.github/workflows/steamcmd.yml
vendored
5
.github/workflows/steamcmd.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- steamcmd/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "steamcmd:${{ matrix.distro }}"
|
||||
@@ -31,7 +34,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./steamcmd
|
||||
|
7
.github/workflows/voice.yml
vendored
7
.github/workflows/voice.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- voice/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
pushx64:
|
||||
name: "yolks:voice_${{ matrix.tag }}"
|
||||
@@ -26,7 +29,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./voice/${{ matrix.tag }}
|
||||
@@ -58,7 +61,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./voice/${{ matrix.tag }}
|
||||
|
5
.github/workflows/wine.yml
vendored
5
.github/workflows/wine.yml
vendored
@@ -8,6 +8,9 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- wine/**
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "yolks:wine_${{ matrix.tag }}"
|
||||
@@ -32,7 +35,7 @@ jobs:
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./wine
|
||||
|
Reference in New Issue
Block a user