Skip to content

Commit

Permalink
deployment: add annotations: set DOCKER_METADATA_ANNOTATIONS_LEVELS t…
Browse files Browse the repository at this point in the history
…o manifest and index
  • Loading branch information
nwittstruck committed Dec 7, 2023
1 parent 34eb46e commit ca23b44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/on_push_main_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to the branch called `master`.
on:
push:
branches: ["master"]
branches: ["209-deployment-add-annotations-to-docker-images-2"]
release:
types: [published]

Expand Down Expand Up @@ -51,6 +51,8 @@ jobs:
type=raw,value=latest,enable={{is_default_branch}}
#semver for tag:
type=semver,pattern={{version}}
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index

# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
Expand Down

0 comments on commit ca23b44

Please sign in to comment.