From ef9ef3eaff0c9a5f466d0c2600d834f72253f2f2 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 6 Sep 2022 14:09:48 -0400 Subject: [PATCH] Use GITHUB_TOKEN --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f4c4fc..d067088 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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) \ No newline at end of file + docker push ghcr.io/wonderfall/synapse:$(grep -oP '(?<=SYNAPSE_VERSION=).*' Dockerfile | head -c4)