Skip to content

Commit

Permalink
use github.event.repository.name for docker image name
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Apr 5, 2024
1 parent 084119f commit e911725
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Test and Publish
on:
push:

env:
IMAGE_NAME: ${{ vars.DOCKER_ORG }}/ssp-base

jobs:
tests:
name: Tests
Expand Down Expand Up @@ -38,7 +35,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
images: ${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit e911725

Please sign in to comment.