Skip to content

Commit

Permalink
Try using env for non-secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
snickell committed Aug 8, 2023
1 parent ef86c3a commit 082dbd1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/skaffold_build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Skaffold
on: [push]
jobs:
quicktest:
build:
name: Skaffold Build
runs-on: ubuntu-22.04
Expand All @@ -16,10 +17,11 @@ jobs:
steps:
- run: |
echo hi
echo "K8S_DOCKEHUB_REPOSITORY=${{ secrets.K8S_DOCKEHUB_REPOSITORY }}"
echo "K8S_DOCKEHUB_REPOSITORY=${{ env.K8S_DOCKEHUB_REPOSITORY }}"
echo "SKAFFOLD_DEFAULT_REPO=$SKAFFOLD_DEFAULT_REPO"
# env:
# SKAFFOLD_DEFAULT_REPO: ${{ secrets.K8S_DOCKEHUB_REPOSITORY }}
echo "GITHUB_WORKFLOW=${GITHUB_WORKFLOW}"
env:
SKAFFOLD_DEFAULT_REPO: ${{ env.K8S_DOCKEHUB_REPOSITORY }}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 082dbd1

Please sign in to comment.