Skip to content

Commit

Permalink
Archive release and set proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
mendsley committed Nov 1, 2024
1 parent 20ffba7 commit 472b82d
Showing 1 changed file with 12 additions and 1 deletion.
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 }}

0 comments on commit 472b82d

Please sign in to comment.