Skip to content

Commit 09e2579

Browse files
committed
Chores: Update action versions
1 parent 0443d82 commit 09e2579

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/docker-publish.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@ jobs:
2727
uses: actions/checkout@v4
2828
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
2929
- name: Log in to the Container registry
30-
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
30+
uses: docker/login-action@v4
3131
with:
3232
registry: ${{ env.REGISTRY }}
3333
username: ${{ github.actor }}
3434
password: ${{ secrets.GITHUB_TOKEN }}
3535
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
3636
- name: Extract metadata (tags, labels) for Docker
3737
id: meta
38-
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
38+
uses: docker/metadata-action@v6
3939
with:
4040
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4141
# 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.
4242
# 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.
4343
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
4444
- name: Build and push Docker image
45-
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
45+
uses: docker/build-push-action@v7
4646
with:
4747
context: .
4848
push: true

0 commit comments

Comments
 (0)