Skip to content

Commit c309b41

Browse files
committed
ci: Using env instead of with for passing env vars
1 parent 9e41e01 commit c309b41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ jobs:
5858
steps:
5959
- uses: actions/checkout@v2
6060
- name: Publish
61+
env:
62+
DOCKER_USER: ${{ secrets.DOCKER_USER }}
63+
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
6164
run: |
6265
curl -q -sSL --max-time 30 "https://raw.githubusercontent.com/ViBiOh/scripts/master/bootstrap" | bash -s "docker_promote"
6366
scripts/docker_promote "${{ secrets.DOCKER_USER }}/$(make name)" "$(make version)"
64-
with:
65-
DOCKER_USER: ${{ secrets.DOCKER_USER }}
66-
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
6767
- name: GoReport
6868
run: |
6969
curl -q -sSL --max-time 30 -X POST https://goreportcard.com/checks?repo=github.com/${GITHUB_REPOSITORY}

0 commit comments

Comments
 (0)