Skip to content

Commit

Permalink
fixing ghcr auth
Browse files Browse the repository at this point in the history
  • Loading branch information
RA341 committed Sep 26, 2024
1 parent 348523e commit fd88a6c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- ci/cd

jobs:
build-docker:
Expand All @@ -26,12 +27,9 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to GHCR registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build and push
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit fd88a6c

Please sign in to comment.