Skip to content

Commit

Permalink
Testing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fabsau committed Dec 27, 2023
1 parent 5757c58 commit c2f8a34
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,17 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Generate extra flavor latest and tags for latest and version
flavor: |
latest=true
#dev=${{ github.event_name == 'schedule' }}
labels: true
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=sha,format=long,prefix=commit-
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=sha,format=long,prefix=commit-
labels: |
org.opencontainers.image.title=prometheus-librespeed-exporter
org.opencontainers.image.description=A Prometheus exporter based on the speedtest-cli by librespeed
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down

0 comments on commit c2f8a34

Please sign in to comment.