Skip to content

Commit

Permalink
modified worflow to test image is pushed to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
Elwizzy12 committed Nov 19, 2024
1 parent 245a59b commit 9de7c62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches: ['test-worflow-for-image']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,7 +50,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.WEBANK_ACCESS_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docker image
run: |
Expand Down

0 comments on commit 9de7c62

Please sign in to comment.