Skip to content

Commit

Permalink
change svalinn to github.repository_owner so contributors don't push …
Browse files Browse the repository at this point in the history
…to svalinn docker image
  • Loading branch information
bquan0 committed Sep 19, 2024
1 parent b8fd8c4 commit e35ca4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:
id: build-parastell
uses: docker/build-push-action@v5
with:
cache-from: type=registry,ref=ghcr.io/svalinn/parastell:ci-layer-cache
cache-to: type=registry,ref=ghcr.io/svalinn/parastell:ci-layer-cache,mode=max
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/parastell:ci-layer-cache
cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/parastell:ci-layer-cache,mode=max
file: Dockerfile
push: true
target: parastell-deps
tags: ghcr.io/svalinn/parastell-ci
tags: ghcr.io/${{ github.repository_owner }}/parastell-ci

test-dependency-img:
needs: build-dependency-img
runs-on: ubuntu-latest
container: ghcr.io/svalinn/parastell-ci
container: ghcr.io/${{ github.repository_owner }}/parastell-ci

name: Test CI Image
steps:
Expand Down

0 comments on commit e35ca4e

Please sign in to comment.