Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/devcontainer-cache-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
runs-on: ubuntu-24.04
permissions:
packages: write
env:
SOURCE_DATE_EPOCH: 1731797200
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
Expand All @@ -54,6 +56,8 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Rewrite timestamps
run: find . | xargs touch --date="@${SOURCE_DATE_EPOCH}" --no-dereference
- name: Build devcontainer cache
id: build-devcontainer-cache
env:
Expand Down
1 change: 1 addition & 0 deletions devcontainer-cache-build-initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def docker_destinations_to_string(docker_destination_list):
{
"type": "image",
"name": f"{DEVCONTAINER_IMAGE_REF}:{GIT_BRANCH_SANITIZED}",
"rewrite-timestamp": True,
"push": DEVCONTAINER_PUSH_IMAGE,
}
]
Expand Down
Loading