Skip to content

Commit

Permalink
fix: image name and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
davmacario committed Oct 14, 2024
1 parent a772a52 commit 3b3ea42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Publish Docker Image"

env:
REGISTRY: "ghcr.io"
IMAGE_NAME: "${{ github.repository }}:latest"
IMAGE_NAME: "${{ github.repository }}"

on:
push: # Only run after merge to main, when these files change
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5.0.0
uses: docker/build-push-action@v6
with:
context: code/oak-d-lite-module/
push: ${{ github.event_name != 'pull_request' }} # Don't push on PR
Expand Down

0 comments on commit 3b3ea42

Please sign in to comment.