Skip to content

Commit

Permalink
revert: ci(github-actions): use env values (#296) (#301)
Browse files Browse the repository at this point in the history
Refs: 9e3a23b.
  • Loading branch information
ykzts authored Sep 9, 2020
1 parent df99463 commit a895578
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
with:
go-version: 1.15

- name: Login on Docker Hub
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Login on GHCR
run: echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin

- name: Install libwebp
run: |
mkdir -p /tmp/src
Expand All @@ -38,8 +43,6 @@ jobs:
version: latest
args: release
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
GITHUB_TOKEN: ${{ secrets.CR_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CGO_CFLAGS: -I/tmp/libwebp/include
CGO_LDFLAGS: -L/tmp/libwebp/lib -lwebp

1 comment on commit a895578

@vercel
Copy link

@vercel vercel bot commented on a895578 Sep 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.