modified: .gitea/workflows/devops-image-deploy.yaml
All checks were successful
/ build-docker-image (push) Successful in 9s
All checks were successful
/ build-docker-image (push) Successful in 9s
modified: devops/Dockerfile
This commit is contained in:
@@ -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
|
||||
@@ -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')"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user