Skip to content

Commit bf2ecce

Browse files
authored
Fix Docker Hub Credentials in CI (#2003)
Signed-off-by: Andrey Velichkevich <[email protected]>
1 parent ccb3ceb commit bf2ecce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
run: |
2626
app_version_tag=$(cat charts/spark-operator-chart/Chart.yaml | grep "appVersion: .*" | cut -c13-)
2727
chart_version_tag=$(cat charts/spark-operator-chart/Chart.yaml | grep "version: .*" | cut -c10-)
28-
28+
2929
# Initialize flags
3030
image_changed=false
3131
chart_changed=false
32-
32+
3333
if ! git rev-parse -q --verify "refs/tags/$app_version_tag"; then
3434
image_changed=true
3535
git tag $app_version_tag
@@ -84,8 +84,8 @@ jobs:
8484
uses: docker/login-action@v3
8585
with:
8686
registry: docker.io
87-
username: ${{ github.actor }}
88-
password: ${{ secrets.GITHUB_TOKEN }}
87+
username: ${{ secrets.DOCKERHUB_USERNAME }}
88+
password: ${{ secrets.DOCKERHUB_TOKEN }}
8989
- name: Build and Push Spark-Operator Docker Image to Docker Hub
9090
id: build
9191
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)