Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate datestamps during docker bake and not on merge #1132

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

klutchell
Copy link
Contributor

This more accurately represents when the image was published, and not when the bake files were last updated.

Change-type: minor

@klutchell klutchell force-pushed the kyle/runtime-datestamp branch 2 times, most recently from 0469c83 to 38118f0 Compare November 12, 2024 01:05
@klutchell
Copy link
Contributor Author

Did a manual run and checked the Docker Bake definition from the logs, seems to be working:

  {
    "group": {
      "default": {
        "targets": [
          "aarch64-alpine-3-16-run"
        ]
      }
    },
    "target": {
      "aarch64-alpine-3-16-run": {
        "attest": [
          "type=provenance,disabled=true"
        ],
        "context": "aarch64/alpine/3.16/run",
        "dockerfile": "Dockerfile",
        "tags": [
          "docker.io/balenalib/aarch64-alpine:3.16-run-20241112",
          "docker.io/balenalib/aarch64-alpine:3.16-run",
          "docker.io/balenalib/aarch64-alpine:3.16-20241112",
          "docker.io/balenalib/aarch64-alpine:3.16"
        ]
      }
    }
  }

This more accurately represents when the image was published,
and not when the bake files were last updated.

Change-type: minor
Signed-off-by: Kyle Harding <kyle@balena.io>
@klutchell klutchell marked this pull request as ready for review November 12, 2024 15:02
@flowzone-app flowzone-app bot merged commit 861fb9a into master Nov 12, 2024
52 checks passed
@flowzone-app flowzone-app bot deleted the kyle/runtime-datestamp branch November 12, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants