From edf51dbcca3b80b237c1d6e70048f689a9b6b269 Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Sat, 14 Dec 2019 23:18:15 +0000 Subject: [PATCH] Use GITHUB_TOKEN and github.actor --- .github/workflows/docker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3ca0eb9..f3115dc 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -12,7 +12,6 @@ on: env: IMAGE_NAME: ib-gateway-docker - GH_USER: antequant-service-user jobs: build: @@ -26,7 +25,7 @@ jobs: - name: Log in to GitHub Package Registry if: github.event_name == 'push' - run: echo "${{ secrets.GH_TOKEN }}" | docker login docker.pkg.github.com -u "$GH_USER" --password-stdin + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u "${{ github.actor }}" --password-stdin - name: Push image if: github.event_name == 'push'