mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
fix: missing docker auth
As i have moved the docker push from a semantic-release plugin to a shell script, the way that the credentials are passed does not work anymore.
This commit is contained in:
parent
96cf83b703
commit
b82860dfba
1 changed files with 6 additions and 2 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -33,12 +33,16 @@ jobs:
|
|||
with:
|
||||
version: "v3.9.0"
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Install semantic-release
|
||||
run: npm install -g --legacy-peer-deps semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec semantic-release-docker
|
||||
|
||||
- name: Release
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
run: semantic-release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue