From b4f6769a1aa813bd9025b1bee2064704695c076f Mon Sep 17 00:00:00 2001
From: Philipp Trulson
Date: Fri, 5 Apr 2024 10:33:36 +0200
Subject: [PATCH 1/3] Add manual trigger to workflow
---
.github/workflows/ci.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 078944ac9..b847f7f40 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -7,6 +7,7 @@ on:
types: [opened, reopened, synchronize]
schedule:
- cron: '15 3 * * 0'
+ workflow_dispatch:
jobs:
build:
From d0f68aa27699f2fc0946685729b8305829806304 Mon Sep 17 00:00:00 2001
From: Philipp Trulson
Date: Fri, 5 Apr 2024 10:34:13 +0200
Subject: [PATCH 2/3] Update GitHub actions
---
.github/workflows/ci.yaml | 12 ++++++------
.github/workflows/release.yaml | 14 +++++++-------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index b847f7f40..f0f765c13 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Setup Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Setup tools
@@ -62,30 +62,30 @@ jobs:
- name: Set up QEMU
if: github.event_name != 'pull_request'
id: qemu
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
with:
install: true
- name: Login to Docker Hub
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to Quay.io
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build and push
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v5
with:
context: .
push: true
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 04a79068a..584bd13e8 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -22,7 +22,7 @@ jobs:
sed -r -i "s/aws-nuke:v[0-9]+\.[0-9]+\.[0-9]+/aws-nuke:${{ github.ref_name }}/" README.md
sed -r -i "s/aws-nuke-v[0-9]+\.[0-9]+\.[0-9]+/aws-nuke-${{ github.ref_name }}/" README.md
sed -r -i "s/\/v[0-9]+\.[0-9]+\.[0-9]+\//\/${{ github.ref_name }}\//" README.md
- - uses: peter-evans/create-pull-request@v5
+ - uses: peter-evans/create-pull-request@v6
name: Create Pull Request
with:
title: Update readme for ${{ github.ref_name }} release
@@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Setup Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Checkout code
@@ -73,30 +73,30 @@ jobs:
- name: Set up QEMU
id: qemu
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
with:
install: true
- name: Login to Docker Hub
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to Quay.io
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build and push
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v5
with:
context: .
push: true
From 98923708486db5ce43ded266350f6180c61e8aad Mon Sep 17 00:00:00 2001
From: Philipp Trulson
Date: Fri, 5 Apr 2024 10:34:23 +0200
Subject: [PATCH 3/3] Build with Go 1.22
---
.github/workflows/ci.yaml | 2 +-
.github/workflows/release.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index f0f765c13..a62b68ca9 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -17,7 +17,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
- go-version: '1.21'
+ go-version: '1.22'
- name: Setup tools
run: |
go install golang.org/x/lint/golint@latest
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 584bd13e8..d48a0f4e8 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -38,7 +38,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
- go-version: '1.21'
+ go-version: '1.22'
- name: Checkout code
uses: actions/checkout@v4
with: