1
0
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:
Tommy 2022-09-06 14:09:48 -04:00 committed by GitHub
parent e2df1fefe8
commit ef9ef3eaff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)