diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index e5f237a37..2e5b7d311 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -15,7 +15,7 @@ env: REGISTRY: docker.io REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} - IMAGE_NAME: bellamy/wallos + IMAGE_NAME: ${{ vars.DOCKERHUB_TAG }} # For release-please, see available types at https://github.com/google-github-actions/release-please-action/tree/v4/?tab=readme-ov-file#release-types-supported PROJECT_TYPE: simple jobs: @@ -44,11 +44,10 @@ jobs: tags="" if [[ "$is_release" = 'true' ]]; then tags="type=semver,pattern={{version}},value=$version - type=semver,pattern={{major}},value=$version - type=semver,pattern={{major}}.{{minor}},value=$version" + type=ref,event=branch,value=main" else tags="type=ref,event=branch - type=ref,event=pr" + type=ref,event=pr" fi { echo 'tags<