Skip to content

Commit

Permalink
use docker/login-action
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Jun 7, 2023
1 parent beba39f commit 1542717
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,15 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Docker Login
uses: docker/login-action@v2
with:
username: fujiwara
password: ${{ secrets.DOCKER_TOKEN }}

- name: docker
run: |
export TAG=$(echo $GITHUB_REF | cut -d/ -f3)
echo $DOCKER_TOKEN | docker login -u fujiwara --password-stdin
make docker-build-push-all
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}

0 comments on commit 1542717

Please sign in to comment.