From 6df4bd2b7c3cd7d023929b729f6f081b1f77f0fb Mon Sep 17 00:00:00 2001 From: ciscon Date: Wed, 29 May 2024 15:34:11 -0400 Subject: [PATCH] PIPELINE: use debian stable container for builds --- .github/workflows/build-and-deploy-release.yml | 11 +++++------ .github/workflows/build-and-deploy-snapshot.yml | 11 +++++------ .github/workflows/build-targets.yml | 8 ++++---- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-and-deploy-release.yml b/.github/workflows/build-and-deploy-release.yml index 93500161..d8ff13d3 100644 --- a/.github/workflows/build-and-deploy-release.yml +++ b/.github/workflows/build-and-deploy-release.yml @@ -15,25 +15,25 @@ jobs: os: linux arch: amd64 base-image: ubuntu-latest - build-image: amd64/ubuntu:latest + build-image: amd64/debian:stable ext: "" - target: linux-i686 os: linux arch: i686 base-image: ubuntu-latest - build-image: i386/ubuntu:latest + build-image: i386/debian:stable ext: "" - target: linux-armhf os: linux arch: armhf base-image: ubuntu-latest - build-image: arm32v7/ubuntu:latest + build-image: arm32v7/debian:stable ext: "" - target: linux-aarch64 os: linux arch: aarch64 base-image: ubuntu-latest - build-image: arm64v8/ubuntu:latest + build-image: arm64v8/debian:stable ext: "" - target: windows-x64 os: windows @@ -82,8 +82,7 @@ jobs: ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}" - name: Set date run: | - sudo timedatectl set-timezone Europe/Amsterdam - echo "DATE=$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV + echo "DATE=$(TZ="Europe/Amsterdam" date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV - name: Deploy env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock diff --git a/.github/workflows/build-and-deploy-snapshot.yml b/.github/workflows/build-and-deploy-snapshot.yml index fa833d5b..af1b908e 100644 --- a/.github/workflows/build-and-deploy-snapshot.yml +++ b/.github/workflows/build-and-deploy-snapshot.yml @@ -13,25 +13,25 @@ jobs: os: linux arch: amd64 base-image: ubuntu-latest - build-image: amd64/ubuntu:latest + build-image: amd64/debian:stable ext: "" - target: linux-i686 os: linux arch: i686 base-image: ubuntu-latest - build-image: i386/ubuntu:latest + build-image: i386/debian:stable ext: "" - target: linux-armhf os: linux arch: armhf base-image: ubuntu-latest - build-image: arm32v7/ubuntu:latest + build-image: arm32v7/debian:stable ext: "" - target: linux-aarch64 os: linux arch: aarch64 base-image: ubuntu-latest - build-image: arm64v8/ubuntu:latest + build-image: arm64v8/debian:stable ext: "" - target: windows-x64 os: windows @@ -80,8 +80,7 @@ jobs: ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}" - name: Set date run: | - sudo timedatectl set-timezone Europe/Amsterdam - echo "DATE=$(date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV + echo "DATE=$(TZ="Europe/Amsterdam" date "+%Y%m%d-%H%M%S")" >> $GITHUB_ENV - name: Deploy env: SSH_AUTH_SOCK: /tmp/ssh_agent.sock diff --git a/.github/workflows/build-targets.yml b/.github/workflows/build-targets.yml index 84df20eb..7f24e560 100644 --- a/.github/workflows/build-targets.yml +++ b/.github/workflows/build-targets.yml @@ -13,25 +13,25 @@ jobs: os: linux arch: amd64 base-image: ubuntu-latest - build-image: amd64/ubuntu:latest + build-image: amd64/debian:stable ext: "" - target: linux-i686 os: linux arch: i686 base-image: ubuntu-latest - build-image: i386/ubuntu:latest + build-image: i386/debian:stable ext: "" - target: linux-armhf os: linux arch: armhf base-image: ubuntu-latest - build-image: arm32v7/ubuntu:latest + build-image: arm32v7/debian:stable ext: "" - target: linux-aarch64 os: linux arch: aarch64 base-image: ubuntu-latest - build-image: arm64v8/ubuntu:latest + build-image: arm64v8/debian:stable ext: "" - target: windows-x64 os: windows