Skip to content

Commit

Permalink
chore: deprecate centos (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
g1eny0ung authored Mar 25, 2024
1 parent 00c8a25 commit 62d1ceb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
branches:
- main
- release-*
paths:
- .github/workflows/ci.yml
- Makefile
- go.*
- '**.go'

jobs:
pull:
Expand All @@ -23,7 +28,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
path: go/src/github.com/${{ github.repository }}
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.20.x

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@ jobs:
matrix:
arch: [amd64, arm64]
runs-on: ${{ fromJson('{"amd64":"ubuntu-latest", "arm64":["self-hosted", "Linux", "ARM64"]}')[matrix.arch] }}
container: ${{ fromJson('{"amd64":"docker.io/centos:8", "arm64":"docker.io/centos:8"}')[matrix.arch] }}
container: ${{ fromJson('{"amd64":"docker.io/rockylinux:8", "arm64":"docker.io/rockylinux:8"}')[matrix.arch] }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.20.x

- uses: actions/setup-python@v5
with:
python-version: "3.10.x"

- name: Configure awscli
run: |
dnf install -y python3
pip3 install awscli
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ jobs:
matrix:
arch: [amd64, arm64]
runs-on: ${{ fromJson('{"amd64":"ubuntu-latest", "arm64":["self-hosted", "Linux", "ARM64"]}')[matrix.arch] }}
container: ${{ fromJson('{"amd64":"docker.io/centos:8", "arm64":"docker.io/centos:8"}')[matrix.arch] }}
container: ${{ fromJson('{"amd64":"docker.io/rockylinux:8", "arm64":"docker.io/rockylinux:8"}')[matrix.arch] }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.20.x

- uses: actions/setup-python@v5
with:
python-version: "3.10.x"

- name: Configure awscli
run: |
dnf install -y python3
pip3 install awscli
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
Expand Down

0 comments on commit 62d1ceb

Please sign in to comment.