From 22a2021b9aba6f39c83bd630e6259a3bca393c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Wed, 19 Nov 2025 22:49:38 +0000 Subject: [PATCH] modified: .gitea/workflows/devops-image-deploy.yaml modified: devops/Dockerfile --- .gitea/workflows/devops-image-deploy.yaml | 5 +++++ devops/Dockerfile | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/devops-image-deploy.yaml b/.gitea/workflows/devops-image-deploy.yaml index 6db01e7..58f121a 100644 --- a/.gitea/workflows/devops-image-deploy.yaml +++ b/.gitea/workflows/devops-image-deploy.yaml @@ -22,6 +22,9 @@ jobs: username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }} password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }} + - name: Set build timestamp + run: echo "BUILD_TIMESTAMP=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV + - name: Build and push Docker images id: push uses: docker/build-push-action@v6 @@ -29,4 +32,6 @@ jobs: context: ${{gitea.workspace}}/devops file: ${{gitea.workspace}}/devops/Dockerfile push: true + labels: | + dev.containers.timestamp=${{ env.BUILD_TIMESTAMP }} tags: git.limbosolutions.com/mylimbo/devcontainers/devops:latest \ No newline at end of file diff --git a/devops/Dockerfile b/devops/Dockerfile index c5b4118..b30f7b5 100644 --- a/devops/Dockerfile +++ b/devops/Dockerfile @@ -64,5 +64,6 @@ RUN git clone https://github.com/zsh-users/zsh-autosuggestions /home/vscode/.oh- COPY ./assets/.zshrc /home/vscode # --- labels --- -LABEL dev.containers.timestamp="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" + +