From 10787c0c7f463045e3b55e3a9e0d35fcba2c854a Mon Sep 17 00:00:00 2001 From: vakarisbk Date: Sun, 22 Oct 2023 17:10:31 +0300 Subject: [PATCH] reset to master, add GH action items required for local publishing --- .github/workflows/main.yml | 12 ++++++------ .github/workflows/publish.yml | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 145b529..eff2691 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 879a9c2..947de26 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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)