Skip to content

Commit

Permalink
ctr actions: partially revert ee810c2
Browse files Browse the repository at this point in the history
We only want to update the DockerHub README, if it is part of processone/eturnal, not within a fork.
  • Loading branch information
sando38 committed Jul 24, 2023
1 parent ede1238 commit 0148162
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/container-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,10 @@ jobs:
-
name: Log in to ${{ matrix.registry }}
uses: docker/login-action@v2
if: |
( matrix.registry == 'docker.io'
&& github.repository_owner == 'processone' )
|| matrix.registry == 'ghcr.io'
with:
registry: ${{ matrix.registry }}
username: ${{ (matrix.registry == 'docker.io'
Expand Down Expand Up @@ -497,6 +501,10 @@ jobs:
${{ env.TAG_MAJOR }}
-
name: Create manifest list and push
if: |
( matrix.registry == 'docker.io'
&& github.repository_owner == 'processone' )
|| matrix.registry == 'ghcr.io'
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -r '"-t " + (.tags | join(" -t "))' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
Expand Down

0 comments on commit 0148162

Please sign in to comment.