diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index ef1868e..c758f84 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -2,7 +2,7 @@ name: Build and Publish on: push: - branches: [ 'main' ] # Trigger on push to 'main' + branches: [ 'develop' ] # Trigger on push to 'main' tags: [ '[0-9]+.[0-9]+.[0-9]+' ] # Trigger on version tags like '0.1.0' jobs: @@ -38,10 +38,10 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - labels: | - org.opencontainers.image.source=${{ github.repository }} - org.opencontainers.image.revision=${{ github.sha }} - org.opencontainers.image.created=${{ github.event.head_commit.timestamp }} + # labels: | + # org.opencontainers.image.source=${{ github.repository }} + # org.opencontainers.image.revision=${{ github.sha }} + # org.opencontainers.image.created=${{ github.event.head_commit.timestamp }} - name: Build and push Docker image to Docker Hub and GHCR uses: docker/build-push-action@v5