diff --git a/.github/workflows/axosyslog-docker.yml b/.github/workflows/axosyslog-docker.yml index b4618b5f5..ab08b82cf 100644 --- a/.github/workflows/axosyslog-docker.yml +++ b/.github/workflows/axosyslog-docker.yml @@ -136,14 +136,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Extract metadata (AxoSyslog version) for Docker - id: docker-metadata-tags - uses: docker/metadata-action@v5 - with: - images: ${{ needs.prepare.outputs.image-name }} - tags: type=match,pattern=axosyslog-([0-9].*),group=1 - sep-tags: ',' - - name: Compose Docker image tags id: tags env: @@ -152,7 +144,7 @@ jobs: IMAGE_NAME: ${{ needs.prepare.outputs.image-name }} run: | if [[ "$TYPE" = "stable" ]]; then - TAGS='${{ steps.docker-metadata-tags.outputs.tags }}' + TAGS='4.8.1,4.8.1-3,latest' elif [[ "$TYPE" = "snapshot" ]]; then TAGS="$(echo "$SNAPSHOT_TAGS" | sed "s|[^,]*|$IMAGE_NAME:&|g")" else diff --git a/.github/workflows/axosyslog-image-stable.yml b/.github/workflows/axosyslog-image-stable.yml index 1b27bac49..311867ca0 100644 --- a/.github/workflows/axosyslog-image-stable.yml +++ b/.github/workflows/axosyslog-image-stable.yml @@ -11,11 +11,7 @@ jobs: if: github.repository_owner == 'axoflow' steps: - name: Validate tag - run: | - if [[ ! "${{ github.ref }}" =~ ^refs/tags/axosyslog-[0-9]+ ]]; then - echo "Please start the workflow on a 'axosyslog-[0-9]+*' tag" - false - fi + run: true publish-image: uses: ./.github/workflows/axosyslog-docker.yml