diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 808f1d0..1709ca6 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -42,7 +42,9 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY_NAME }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }} - + tags: | + type=raw,value=latest,enable={{is_default_branch}} + - name: Building And Pushing Image id: docker_build uses: docker/build-push-action@v4 @@ -62,4 +64,4 @@ jobs: # tags: ghcr.io/${{ github.repository_owner }}/nostr-rs-relay:latest - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} \ No newline at end of file + run: echo ${{ steps.docker_build.outputs.digest }}