Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
e1c21dd30b
commit
76d3e38f1b
3 changed files with 24 additions and 7 deletions
|
|
@ -4,7 +4,7 @@ on:
|
|||
push:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
publish_password:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- run: apt-get update && apt-get install -y make
|
||||
|
|
@ -14,10 +14,13 @@ jobs:
|
|||
go-version: "1.21"
|
||||
- run: make build_password
|
||||
- name: test secrets
|
||||
run: echo "${PASSWORD}" && bash ./scripts/publish_packages.sh "./bin"
|
||||
run: echo "${PASSWORD}" && bash ./scripts/publish_packages.sh "./bin" "password"
|
||||
env:
|
||||
LOGIN: ${{ forge.ACTOR }}
|
||||
PASSWORD: ${{ secrets.PACKAGE }}
|
||||
SERVER_URL: ${{ forge.SERVER_URL }}
|
||||
OWNER: ${{ forge.REPOSITORY_OWNER }}
|
||||
VER: latest
|
||||
- run: make publish_password
|
||||
env:
|
||||
VER: latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue