Skip to content

Commit

Permalink
Experiment with docker hub login being the only access
Browse files Browse the repository at this point in the history
  • Loading branch information
snickell committed Aug 8, 2023
1 parent 2fc257c commit 091e212
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/skaffold_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ jobs:
echo "GITHUB_WORKFLOW=${GITHUB_WORKFLOW}"
env:
SKAFFOLD_DEFAULT_REPO: ${{ vars.K8S_DOCKEHUB_REPOSITORY }}
# build:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ${{ secrets.K8S_DOCKEHUB_REPOSITORY }}
username: ${{ secrets.K8S_DOCKERHUB_USERNAME }}
password: ${{ secrets.K8S_DOCKERHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ${{ secrets.K8S_DOCKEHUB_REPOSITORY }}
username: thisshouldfail
password: ${{ secrets.K8S_DOCKERHUB_TOKEN }}
build:
# name: Skaffold Build
# runs-on: ubuntu-22.04
# container:
Expand Down

0 comments on commit 091e212

Please sign in to comment.