Skip to content

Commit 916b51e

Browse files
committed
Update docker image
Signed-off-by: Alireza Poodineh <[email protected]>
1 parent 5c1bc1d commit 916b51e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@ jobs:
2929
uses: actions/checkout@v4
3030
# 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.
3131
- name: Log in to the Container registry
32-
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
32+
uses: docker/login-action@v3
3333
with:
3434
registry: ${{ env.REGISTRY }}
3535
username: ${{ github.actor }}
3636
password: ${{ secrets.GITHUB_TOKEN }}
3737
# 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.
3838
- name: Extract metadata (tags, labels) for Docker
3939
id: meta
40-
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
40+
uses: docker/metadata-action@v5
4141
with:
4242
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4343
# 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.
4444
# 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.
4545
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
4646
- name: Build and push Docker image
4747
id: push
48-
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
48+
uses: docker/build-push-action@v6
4949
with:
5050
context: build/docker
5151
push: true

build/docker/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Use the official devcontainer .NET 8 image
22
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:9.0
33

4-
LABEL org.opencontainers.image.source=https://github.com/SAPTeamDEV/EasySign
5-
LABEL org.opencontainers.image.description=".NET Development Container"
6-
LABEL org.opencontainers.image.licenses=MIT
7-
4+
LABEL org.opencontainers.image.source https://github.com/SAPTeamDEV/EasySign
5+
LABEL org.opencontainers.image.description ".NET Development Container"
6+
LABEL org.opencontainers.image.licenses MIT
87

98
# Install additional apt packages
109
RUN apt-get update && apt-get install -y \

0 commit comments

Comments
 (0)