Skip to content

Commit

Permalink
tag with latest on master
Browse files Browse the repository at this point in the history
  • Loading branch information
camaeel committed Mar 22, 2022
1 parent e7eaf04 commit 4fd765c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/jenkins-jnlp-slave-docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Docker

on:
push:
branches: [ master, github-actions ]
branches: [ master ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
paths:
Expand Down Expand Up @@ -71,9 +71,9 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=match,pattern=master,value=latest
type=ref,event=branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=ref,event=tag
type=ref,event=branch
type=ref,event=pr
# Build and push Docker image with Buildx (don't push on PR)
Expand Down

0 comments on commit 4fd765c

Please sign in to comment.