From 1a85d73f0562df11fa87c2c33978dcfc60245f64 Mon Sep 17 00:00:00 2001 From: darksaid98 Date: Sun, 13 Aug 2023 20:38:15 +0200 Subject: [PATCH] refactor: github password --- .github/workflows/base.yml | 2 +- .github/workflows/bot.yml | 4 +- .github/workflows/box64.yml | 76 ++++++++++++++--------------- .github/workflows/cassandra.yml | 2 +- .github/workflows/dart.yml | 82 ++++++++++++++++---------------- .github/workflows/dotnet.yml | 2 +- .github/workflows/erlang.yml | 2 +- .github/workflows/go.yml | 2 +- .github/workflows/installers.yml | 2 +- .github/workflows/java.yml | 2 +- .github/workflows/mariadb.yml | 2 +- .github/workflows/mongodb.yml | 2 +- .github/workflows/mono.yml | 2 +- .github/workflows/nodejs.yml | 2 +- .github/workflows/postgres.yml | 2 +- .github/workflows/python.yml | 4 +- .github/workflows/redis.yml | 2 +- .github/workflows/rust.yml | 4 +- .github/workflows/steamcmd.yml | 4 +- .github/workflows/voice.yml | 6 +-- .github/workflows/wine.yml | 2 +- 21 files changed, 104 insertions(+), 104 deletions(-) diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index b066a93..40fa980 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -29,7 +29,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./oses/${{ matrix.oses }} diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index c061594..3a15bc8 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -40,7 +40,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./bot/${{ matrix.tag }} @@ -74,7 +74,7 @@ jobs: # with: # registry: ghcr.io # username: ${{ github.repository_owner }} - # password: ${{ secrets.REGISTRY_TOKEN }} + # password: ${{ secrets.GITHUB_TOKEN }} # - uses: docker/build-push-action@v2 # with: # context: ./bot/${{ matrix.tag }} diff --git a/.github/workflows/box64.yml b/.github/workflows/box64.yml index e66f902..a3bf8e1 100644 --- a/.github/workflows/box64.yml +++ b/.github/workflows/box64.yml @@ -1,38 +1,38 @@ -name: build box64 -on: - workflow_dispatch: - schedule: - - cron: "0 0 * * 1" - push: - branches: - - master - paths: - - box64/** -jobs: - push: - name: "yolks:${{ matrix.tag }}" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - box64 - steps: - - uses: actions/checkout@v3 - - uses: docker/setup-qemu-action@v2 - - uses: docker/setup-buildx-action@v2 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} - - uses: docker/build-push-action@v4 - with: - context: ./box64 - file: ./${{ matrix.tag }}/Dockerfile - platforms: linux/arm64 - push: true - tags: | - ghcr.io/parkervcp/yolks:${{ matrix.tag }} +name: build box64 +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * 1" + push: + branches: + - master + paths: + - box64/** +jobs: + push: + name: "yolks:${{ matrix.tag }}" + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + tag: + - box64 + steps: + - uses: actions/checkout@v3 + - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-buildx-action@v2 + with: + buildkitd-flags: --debug + - uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: docker/build-push-action@v4 + with: + context: ./box64 + file: ./${{ matrix.tag }}/Dockerfile + platforms: linux/arm64 + push: true + tags: | + ghcr.io/parkervcp/yolks:${{ matrix.tag }} diff --git a/.github/workflows/cassandra.yml b/.github/workflows/cassandra.yml index 817632a..03ee6be 100644 --- a/.github/workflows/cassandra.yml +++ b/.github/workflows/cassandra.yml @@ -27,7 +27,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./cassandra diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 4835de1..1c4f12f 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -1,41 +1,41 @@ -name: build dart -on: - workflow_dispatch: - schedule: - - cron: "0 0 * * 1" - push: - branches: - - master - paths: - - dart/** -jobs: - push: - name: "yolks:dart_${{ matrix.tag }}" - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - tag: - - 2.17 - - 2.18 - - 2.19 - steps: - - uses: actions/checkout@v3 - # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v2 - - uses: docker/setup-buildx-action@v2 - with: - buildkitd-flags: --debug - - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} - - uses: docker/build-push-action@v4 - with: - context: ./dart - file: ./dart/${{ matrix.tag }}/Dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }} +name: build dart +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * 1" + push: + branches: + - master + paths: + - dart/** +jobs: + push: + name: "yolks:dart_${{ matrix.tag }}" + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + tag: + - 2.17 + - 2.18 + - 2.19 + steps: + - uses: actions/checkout@v3 + # Setup QEMU for ARM64 Build + - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-buildx-action@v2 + with: + buildkitd-flags: --debug + - uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: docker/build-push-action@v4 + with: + context: ./dart + file: ./dart/${{ matrix.tag }}/Dockerfile + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }} diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index f1a0064..3e37d56 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -32,7 +32,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./dotnet diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index dd3e0e8..adc0cfc 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -30,7 +30,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./erlang diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 36f6c0f..ae45acf 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -31,7 +31,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./go diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml index b4a2918..9102479 100644 --- a/.github/workflows/installers.yml +++ b/.github/workflows/installers.yml @@ -28,7 +28,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./installers diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index d24163a..100318c 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -34,7 +34,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./java diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index ca3f4f9..07e3f04 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -32,7 +32,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./mariadb diff --git a/.github/workflows/mongodb.yml b/.github/workflows/mongodb.yml index 87541d9..e6550e0 100644 --- a/.github/workflows/mongodb.yml +++ b/.github/workflows/mongodb.yml @@ -30,7 +30,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./mongodb diff --git a/.github/workflows/mono.yml b/.github/workflows/mono.yml index 9b46d2a..712499b 100644 --- a/.github/workflows/mono.yml +++ b/.github/workflows/mono.yml @@ -26,7 +26,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./mono diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 8dc7ff4..b1e931c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -34,7 +34,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./nodejs diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index b4f76b4..7554d04 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -33,7 +33,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./postgres diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 2a608b7..1b1d5bc 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -25,7 +25,7 @@ jobs: steps: - uses: actions/checkout@v3 # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 with: buildkitd-flags: --debug @@ -33,7 +33,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./python diff --git a/.github/workflows/redis.yml b/.github/workflows/redis.yml index b3d2878..4b981b3 100644 --- a/.github/workflows/redis.yml +++ b/.github/workflows/redis.yml @@ -30,7 +30,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./redis diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 11e02fa..d688794 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v3 # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v2 + - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 with: buildkitd-flags: --debug @@ -31,7 +31,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./rust diff --git a/.github/workflows/steamcmd.yml b/.github/workflows/steamcmd.yml index bb4adeb..ac47441 100644 --- a/.github/workflows/steamcmd.yml +++ b/.github/workflows/steamcmd.yml @@ -19,7 +19,7 @@ jobs: - debian - ubuntu - dotnet - - proton + - proton steps: - uses: actions/checkout@v3 - uses: docker/setup-buildx-action@v2 @@ -29,7 +29,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./steamcmd diff --git a/.github/workflows/voice.yml b/.github/workflows/voice.yml index 711634e..44e57b2 100644 --- a/.github/workflows/voice.yml +++ b/.github/workflows/voice.yml @@ -26,7 +26,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./voice/${{ matrix.tag }} @@ -47,7 +47,7 @@ jobs: steps: - uses: actions/checkout@v3 # Setup QEMU for ARM64 Build - - uses: docker/setup-qemu-action@v1 + - uses: docker/setup-qemu-action@v1 - uses: docker/setup-buildx-action@v2 with: version: "v0.8.2" @@ -56,7 +56,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v3 with: context: ./voice/${{ matrix.tag }} diff --git a/.github/workflows/wine.yml b/.github/workflows/wine.yml index f729fe8..ccdfeb4 100644 --- a/.github/workflows/wine.yml +++ b/.github/workflows/wine.yml @@ -28,7 +28,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.REGISTRY_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - uses: docker/build-push-action@v4 with: context: ./wine