Merge pull request 'Change actions GTCR authentication' (#8) from actions-authentication into develop

Reviewed-on: #8
This commit is contained in:
MrMeeb 2024-04-16 09:19:17 +00:00
commit cdca0ef342
2 changed files with 6 additions and 7 deletions

View File

@ -9,7 +9,7 @@ env:
jobs:
"Build Image":
runs-on: ubuntu-docker-latest
runs-on: [ubuntu-docker-latest, linux/amd64]
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@ -19,8 +19,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: git.mrmeeb.stream
username: ${{ secrets.GT_USERNAME }}
password: ${{ secrets.GT_TOKEN }}
username: ${{ env.GITHUB_ACTOR }}
password: ${{ secrets.GTCR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
@ -38,8 +38,7 @@ jobs:
username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
"Notify":
runs-on: ubuntu-docker-latest
needs: ["Build Image"]
runs-on: [ubuntu-docker-latest, linux/amd64]
steps:
- name: Notify of success
uses: rjstone/discord-webhook-notify@v1

View File

@ -9,7 +9,7 @@ env:
jobs:
"Build Image":
runs-on: ubuntu-docker-latest
runs-on: [ubuntu-docker-latest, linux/amd64]
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@ -32,7 +32,7 @@ jobs:
username: Gitea
avatarUrl: ${{ vars.RUNNER_ICON_URL }}
"Notify":
runs-on: ubuntu-docker-latest
runs-on: [ubuntu-docker-latest, linux/amd64]
needs: ["Build Image"]
steps:
- name: Notify of success