Skip to content

Commit

Permalink
fix image tag definition
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeller committed Jan 29, 2024
1 parent 084becc commit 3539844
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ jobs:
- name: Set image tag
run: |
if [ "${{ github.ref.name }}" != "${{ github.event.repository.default_branch }}" ]; then
export $IMAGE_TAG="latest_${{ github.ref.name }}_ci"
export IMAGE_TAG="latest_${{ github.ref.name }}_ci"
else
export $IMAGE_TAG="latest"
export IMAGE_TAG="latest"
fi
- uses: docker/build-push-action@v5
name: Build and push
with:
push: true
file: carla-scenario-runner/docker/Dockerfile
tags: rwthika/carla-scenario-runner:IMAGE_TAG
tags: rwthika/carla-scenario-runner:$IMAGE_TAG
no-cache: true
context: .

0 comments on commit 3539844

Please sign in to comment.