Skip to content

Commit

Permalink
static: split artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Gronowski <[email protected]>
  • Loading branch information
vvoland committed Sep 5, 2024
1 parent 23d5659 commit efca4ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/.nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
echo "version=$(date +%Y%m%d)" >> $GITHUB_OUTPUT
case ${{ inputs.arch }} in
amd64|static)
amd64|static*)
echo "worker=ubuntu-20.04" >> $GITHUB_OUTPUT
;;
arm64|armhf)
Expand Down Expand Up @@ -78,10 +78,10 @@ jobs:
export DOCKER_COMPOSE_REF=main
export DOCKER_COMPOSE_VERSION=$VERSION
if [ "${{ inputs.target }}" == "static" ]; then
export DOCKER_BUILD_PKGS="static-linux cross-mac cross-win"
if [ "${{ inputs.target }}" == static ]; then
export DOCKER_BUILD_PKGS="${{ inputs.arch }}"
else
export ARCH=${{ inputs.arch }}
export ARCH=${{ inputs.arch }}
fi
make ${{ inputs.target }}
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ jobs:
#- {target: "rhel-8", image: "registry.access.redhat.com/ubi8/ubi"}
#- {target: "rhel-9", image: "registry.access.redhat.com/ubi9/ubi"}
include:
- arch: static
- arch: static-linux
dist: {target: "static", image: ""}
- arch: cross-mac
dist: {target: "static", image: ""}
- arch: cross-win
dist: {target: "static", image: ""}
- arch: armhf
dist: {target: "debian-bookworm", image: "debian:bookworm"}
#- arch: armhf
# dist: {target: "debian-bullseye", image: "debian:bullseye"}
#- arch: armhf
# dist: {target: "debian-bookworm", image: "debian:bookworm"}
#- arch: armhf
# dist: {target: "ubuntu-focal", image: "ubuntu:focal"}
#- arch: armhf
# dist: {target: "ubuntu-jammy", image: "ubuntu:jammy"}
Expand Down

0 comments on commit efca4ca

Please sign in to comment.