Skip to content

Commit

Permalink
action/docker: set label latest
Browse files Browse the repository at this point in the history
Signed-off-by: Avelino <[email protected]>
  • Loading branch information
avelino committed May 15, 2024
1 parent 66355c1 commit 1ce62ca
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,20 @@
name: Docker

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:
push:
branches: [ "main" ]
tags: [ 'v*.*.*' ]

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}


jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

steps:
Expand Down Expand Up @@ -70,7 +61,7 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
tags: latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 1ce62ca

Please sign in to comment.