diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml index 1e118a1ff..eb70cda3d 100644 --- a/.github/workflows/build_container.yml +++ b/.github/workflows/build_container.yml @@ -1,9 +1,11 @@ -name: Create and publish a container image +name: Docker image build on: push: + branches: + - main tags: - - 'v*' + - v* jobs: build-and-push-image: @@ -33,6 +35,7 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} + type=edge,branch=main - name: Build and push Docker image uses: docker/build-push-action@v5