Skip to content

Commit

Permalink
fix(ci/publish): login at docker-run step
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Oct 23, 2023
1 parent 5128026 commit 183d595
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,11 @@ jobs:
- name: 📥 Checkout
uses: actions/checkout@v3

- name: 🔐 Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: 🏗️ Build Addon
uses: addnab/docker-run-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: -v ${{ github.workspace }}:/work --platform linux/amd64
image: vencord/venmic-builder-x86_64:latest
registry: gcr.io
Expand Down Expand Up @@ -56,16 +51,11 @@ jobs:
with:
platforms: "arm64"

- name: 🔐 Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: 🏗️ Build Addon
uses: addnab/docker-run-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: -v ${{ github.workspace }}:/work --platform linux/arm64
image: vencord/venmic-builder-arm64:latest
registry: gcr.io
Expand Down

0 comments on commit 183d595

Please sign in to comment.