Merge pull request #82 from choria-io/1_21_8 #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Builders | |
on: | |
push: | |
branches: | |
- main | |
env: | |
GO_VERSION: "1.21.8" | |
TAG: "1.21" | |
jobs: | |
bullseye_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.bullseye-go | |
go: ${{ env.GO_VERSION }} | |
tag: bullseye-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
buster_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.buster-go | |
go: ${{ env.GO_VERSION }} | |
tag: buster-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
debian_go: | |
needs: | |
- buster_go | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.debian-go | |
go: ${{ env.GO_VERSION }} | |
tag: debian-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
bionic_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.bionic-go | |
go: ${{ env.GO_VERSION }} | |
tag: bionic-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
focal_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.focal-go | |
go: ${{ env.GO_VERSION }} | |
tag: focal-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
jammy_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.jammy-go | |
go: ${{ env.GO_VERSION }} | |
tag: jammy-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
el7_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.el7-go | |
go: ${{ env.GO_VERSION }} | |
tag: el7-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
el7_puppet_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.el7-puppet-go | |
go: ${{ env.GO_VERSION }} | |
tag: el7-puppet-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
el8_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.el8-go | |
go: ${{ env.GO_VERSION }} | |
tag: el8-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
platforms: linux/amd64,linux/arm64 | |
el9_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: ./.github/actions/build-packager | |
with: | |
file: Dockerfile.el9-go | |
go: ${{ env.GO_VERSION }} | |
tag: el9-go${{ env.TAG }} | |
hub_user: ${{ secrets.REGISTRY_RELEASE_USERNAME }} | |
hub_password: ${{ secrets.REGISTRY_RELEASE_PASSWORD }} | |
platforms: linux/amd64,linux/arm64 |