You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
124
-
env:
125
-
REGISTRY: ghcr.io
126
-
IMAGE_NAME: ${{ github.repository }}
127
-
128
131
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
129
132
permissions:
130
133
contents: read
131
134
packages: write
132
135
attestations: write
133
136
id-token: write
137
+
138
+
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
# Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
# 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.
166
170
# 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.
167
171
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
0 commit comments