From 4f2289bdcfbd6308c8e2ab502c68f43712aae70c Mon Sep 17 00:00:00 2001 From: LeoVerto Date: Wed, 28 Apr 2021 02:02:36 +0200 Subject: [PATCH] Use correct image name in action --- .github/workflows/docker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 56851d1..7661921 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -16,7 +16,7 @@ jobs: id: docker_meta uses: crazy-max/ghaction-docker-meta@v2 with: - images: ${{ secrets.DOCKERHUB_USERNAME }}/email2signal,ghcr.io/${{ github.actor }}/email2signal + images: ${{ secrets.DOCKERHUB_USERNAME }}/docker-network-graph,ghcr.io/${{ github.repository_owner }}/docker-network-graph tags: | type=ref,event=branch type=semver,pattern={{version}} @@ -28,6 +28,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Cache Docker layers + if: github.event_name != 'pull_request' uses: actions/cache@v2 with: path: /tmp/.buildx-cache @@ -44,8 +45,8 @@ jobs: uses: docker/login-action@v1 with: registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.CR_PAT }} + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v2 with: