Skip to content

Commit

Permalink
Hopefully fix the commit date in manual docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
da3dsoul committed Feb 17, 2024
1 parent 5ecf95b commit 9d902d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/docker-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Retrieve Commit Date
run: |
echo "COMMIT_DATE=$(git log -1 --format="%aI")" >> $GITHUB_OUTPUT
# Disabled provenance for now, until it works with docker manifest create.
# The manifest list produced by the new feature is incompatible with the
# expected format used in the docker manifest create command.
Expand All @@ -85,7 +89,7 @@ jobs:
version=${{ github.event.inputs.version }}
channel=${{ github.event.inputs.release }}
commit=${{ github.sha }}
date=$(git log -1 --format="%aI")
date=${{ steps.version.outputs.COMMIT_DATE }}
provenance: false

docker-manual-push_manifest:
Expand Down
5 changes: 4 additions & 1 deletion Shoko.Server.sln
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{00DE
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{700D0E2E-FF22-4810-8BC5-537207182EDF}"
ProjectSection(SolutionItems) = preProject
.github\workflows\docker-daily.yml = .github\workflows\docker-daily.yml
.github\workflows\docker-manual.yml = .github\workflows\docker-manual.yml
.github\workflows\docker-release.yml = .github\workflows\docker-release.yml
.github\workflows\plugin-nuget.yml = .github\workflows\plugin-nuget.yml
.github\workflows\tray-standalone-manual.yml = .github\workflows\tray-standalone-manual.yml
.github\workflows\UploadArchive.ps1 = .github\workflows\UploadArchive.ps1
.github\workflows\build-daily.yml = .github\workflows\build-daily.yml
.github\workflows\build-release.yml = .github\workflows\build-release.yml
.github\workflows\issue-no-response.yml = .github\workflows\issue-no-response.yml
.github\workflows\ReplaceAVD3URL.ps1 = .github\workflows\ReplaceAVD3URL.ps1
.github\workflows\ReplaceSentryDSN.ps1 = .github\workflows\ReplaceSentryDSN.ps1
.github\workflows\UploadRelease.ps1 = .github\workflows\UploadRelease.ps1
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "x86", "x86", "{700D0E2E-FF22-4810-8BC5-537207182ECA}"
Expand Down

0 comments on commit 9d902d8

Please sign in to comment.