Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominion5254 committed Jan 16, 2025
1 parent ab1d276 commit 8bd33c6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
tags:
- v*
workflow_dispatch:

jobs:
push-image:
Expand All @@ -20,8 +21,13 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Set IMAGE_ID
run: echo "IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME" | tr '[A-Z]' '[a-z]' >> $GITHUB_ENV
- name: Debug IMAGE_ID
run: |
echo "IMAGE_ID: $IMAGE_ID"
- name: Build image
run: docker buildx build . --platform linux/amd64,linux/arm64 --tag $IMAGE_ID --label "runnumber=${GITHUB_RUN_ID}" --push
run: |
echo "Building Docker image with context '.' and tag $IMAGE_ID"
docker buildx build . --platform linux/amd64,linux/arm64 --tag $IMAGE_ID --label "runnumber=${GITHUB_RUN_ID}" --push
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image
Expand Down

0 comments on commit 8bd33c6

Please sign in to comment.