Skip to content

Commit

Permalink
reset to master, add GH action items required for local publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
vakarisbk committed Oct 22, 2023
1 parent 2772359 commit 10787c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,12 +332,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish - Login to Dockerhub Registry
if: ${{ inputs.publish }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
#- name: Publish - Login to Dockerhub Registry
# if: ${{ inputs.publish }}
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USER }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Publish - Push Image
if: ${{ inputs.publish }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ on:
default: ghcr.io/apache/spark-docker
type: choice
options:
- ghcr.io/vakarisbk/spark-docker
# GHCR: This required the write permission of apache/spark-docker (Spark Committer)
- ghcr.io/apache/spark-docker
# Dockerhub: This required the DOCKERHUB_TOKEN and DOCKERHUB_USER (Spark Committer)
Expand Down

0 comments on commit 10787c0

Please sign in to comment.