Skip to content

Commit

Permalink
fix latest label
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhaseless committed Jul 20, 2024
1 parent 8a3d1f1 commit d87ed2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: Get devcontainer folders
id: devcontainer-folders
run: echo "folders=$(ls src | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT

build:
runs-on: ubuntu-latest
needs: list-files
Expand Down Expand Up @@ -81,6 +82,8 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ matrix.folder }}
tags: |
type=raw,value=latest
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand All @@ -90,7 +93,7 @@ jobs:
with:
context: src/${{ matrix.folder }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}, latest
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down

0 comments on commit d87ed2e

Please sign in to comment.