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

Archive release and set proper version #4

Merged
merged 1 commit into from
Nov 2, 2024
Merged
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
13 changes: 12 additions & 1 deletion .github/workflows/dockerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ jobs:
name: Build binaries
run: |
& docker run --name ${{ env.TEST_CTN_NAME }} -e "DOCKER_GITCOMMIT=${{ github.sha }}" `
-e "VERSION=${{ needs.prepare.outputs.tag }}" `
-e "DOCKERCLI_VERSION=27.3.1" `
-v "${{ github.workspace }}\go-build:C:\Users\ContainerAdministrator\AppData\Local\go-build" `
-v "${{ github.workspace }}\go\pkg\mod:C:\gopath\pkg\mod" `
${{ env.TEST_IMAGE_NAME }} hack\make.ps1 -Daemon -Client
Expand Down Expand Up @@ -152,6 +154,15 @@ jobs:
name: List artifacts
run: |
tree -nh ${{ env.BIN_OUT }}
-
name: Archive artifacts
working-directory: ${{ env.BIN_OUT }}
run: |
tar czvf "${{ env.BIN_OUT }}/docker-${{ needs.prepare.outputs.tag }}.windows-amd64.tar.gz" --sort=name *.exe
-
name: List artifacts
run: |
tree -nh ${{ env.BIN_OUT }}
-
name: GitHub Release
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -160,5 +171,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
files: ${{ env.BIN_OUT }}/*
files: ${{ env.BIN_OUT }}/*.tar.gz
name: ${{ needs.prepare.outputs.tag }}
Loading