Skip to content

Commit

Permalink
Revert to github actor and add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
westsurname authored Jul 22, 2024
1 parent 9bf5d07 commit 4a5553a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
image: ghcr.io/${{ github.repository }}/scripts
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Docker meta
id: meta
Expand All @@ -40,11 +40,16 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push docker image
Expand Down

0 comments on commit 4a5553a

Please sign in to comment.