Skip to content

Commit d02c4ba

Browse files
committed
ci(ct-base): fix pushing to Docker Hub
The Docker Login Actions do not enable logging in to docker.io, but a standard registry. By not overriding the registry, Docker Maven Plugin will use the one supplied by Docker context (which the authorization was done for by docker/login-action)
1 parent 2be92f3 commit d02c4ba

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/container_base_push.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ on:
2121

2222
env:
2323
IMAGE_TAG: unstable
24-
REGISTRY: docker.io
2524

2625
jobs:
2726
build:
@@ -83,4 +82,4 @@ jobs:
8382
run: echo "IMAGE_TAG=stable"
8483
- if: ${{ github.event_name != 'pull_request' }}
8584
name: Deploy multi-arch base container image to Docker Hub
86-
run: mvn -f modules/container-base -Pct deploy -Dbase.image.tag=${{ env.IMAGE_TAG }} -Ddocker.registry=${{ env.REGISTRY }}
85+
run: mvn -f modules/container-base -Pct deploy -Dbase.image.tag=${{ env.IMAGE_TAG }}

0 commit comments

Comments
 (0)