Skip to content

Commit

Permalink
Fix Docker Hub Credentials in CI (#2003)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
  • Loading branch information
andreyvelich committed Apr 24, 2024
1 parent ccb3ceb commit bf2ecce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
run: |
app_version_tag=$(cat charts/spark-operator-chart/Chart.yaml | grep "appVersion: .*" | cut -c13-)
chart_version_tag=$(cat charts/spark-operator-chart/Chart.yaml | grep "version: .*" | cut -c10-)
# Initialize flags
image_changed=false
chart_changed=false
if ! git rev-parse -q --verify "refs/tags/$app_version_tag"; then
image_changed=true
git tag $app_version_tag
Expand Down Expand Up @@ -84,8 +84,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: docker.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push Spark-Operator Docker Image to Docker Hub
id: build
uses: docker/build-push-action@v5
Expand Down

0 comments on commit bf2ecce

Please sign in to comment.