mirror of
https://github.com/tommytran732/Synapse-Docker
synced 2024-11-22 07:52:20 -05:00
Use GITHUB_TOKEN
This commit is contained in:
parent
e2df1fefe8
commit
ef9ef3eaff
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -41,11 +41,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
run: >-
|
run: >-
|
||||||
echo "${{ secrets.GHCR_TOKEN }}"
|
echo "${{ secrets.GITHUB_TOKEN }}"
|
||||||
| docker login -u "${{ github.actor }}" --password-stdin ghcr.io
|
| docker login -u "${{ github.actor }}" --password-stdin ghcr.io
|
||||||
|
|
||||||
- name: Push image to GitHub
|
- name: Push image to GitHub
|
||||||
run: |
|
run: |
|
||||||
docker push ghcr.io/wonderfall/synapse
|
docker push ghcr.io/wonderfall/synapse
|
||||||
docker push ghcr.io/wonderfall/synapse:$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile | head -c6)
|
docker push ghcr.io/wonderfall/synapse:$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile | head -c6)
|
||||||
docker push ghcr.io/wonderfall/synapse:$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile | head -c4)
|
docker push ghcr.io/wonderfall/synapse:$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile | head -c4)
|
||||||
|
Loading…
Reference in New Issue
Block a user