Skip to content

Commit 5da8bde

Browse files
committed
Always auth on docker hub to upload images
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
1 parent a566214 commit 5da8bde

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: github.event_name == 'release' && github.event.action == 'created'
3333
uses: docker/login-action@v2
3434
with:
35-
username: ${{ secrets.DOCKER_USERNAME }}
35+
username: datasqrl
3636
password: ${{ secrets.DOCKER_PASSWORD }}
3737

3838
- name: Pull base images

.github/workflows/uber-jar.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ jobs:
3535
uses: docker/setup-buildx-action@v2
3636

3737
- name: Log in to Docker Hub
38-
if: github.event_name == 'release' && github.event.action == 'created'
3938
uses: docker/login-action@v2
4039
with:
41-
username: ${{ secrets.DOCKER_USERNAME }}
40+
username: datasqrl
4241
password: ${{ secrets.DOCKER_PASSWORD }}
4342

4443
- name: Pull base images
@@ -68,7 +67,7 @@ jobs:
6867
6968
- name: Build Docker image
7069
run: |
71-
DOCKER_TAG=$DOCKER_REPO:${{ env.VERSION }}-sqrlv${{ matrix.SQRL_VERSION }}-flink${{ matrix.FLINK_PROFILE }}
70+
DOCKER_TAG=$DOCKER_REPO:${{ env.VERSION }}-sqrlv${{ matrix.SQRL_VERSION }}-${{ matrix.FLINK_PROFILE }}
7271
ls -lha
7372
docker build --build-arg SQRL_VERSION=${{ matrix.SQRL_VERSION }} --build-arg RUNNER_VERSION=${{ env.VERSION }} -t $DOCKER_TAG .
7473
docker push $DOCKER_TAG

0 commit comments

Comments
 (0)