Skip to content

Commit

Permalink
Merge pull request #139 from QW-Group/debian-build-environment
Browse files Browse the repository at this point in the history
PIPELINE: use debian stable container for builds
  • Loading branch information
ciscon authored May 29, 2024
2 parents 4bdd739 + 92cf616 commit a0f95a2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-and-deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,7 +47,7 @@ jobs:
ext: ".exe"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Prepare Build Environemnt
Expand Down Expand Up @@ -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
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/build-and-deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,7 +45,7 @@ jobs:
ext: ".exe"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Prepare Build Environemnt
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,7 +45,7 @@ jobs:
ext: ".exe"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
- name: Prepare Build Environemnt
Expand Down

0 comments on commit a0f95a2

Please sign in to comment.