1
0
mirror of https://github.com/tommytran732/Synapse-Docker synced 2024-09-18 20:34:42 -04: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
run: >-
echo "${{ secrets.GHCR_TOKEN }}"
echo "${{ secrets.GITHUB_TOKEN }}"
| docker login -u "${{ github.actor }}" --password-stdin ghcr.io
- name: Push image to GitHub
run: |
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 -c4)
docker push ghcr.io/wonderfall/synapse:$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile | head -c4)