From e339099ee50e559f14f73400e8b0f1ffc53245bd Mon Sep 17 00:00:00 2001 From: maxcleme Date: Tue, 17 Feb 2026 07:52:36 +0100 Subject: [PATCH 1/4] chore(ci): normalize quote style Signed-off-by: maxcleme --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b395866..ee02367 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@master with: - submodules: 'recursive' + submodules: "recursive" - name: Test uses: docker://golang:latest with: From 69ab500a7bc7aee56a4c24c4db221c6fe2c35968 Mon Sep 17 00:00:00 2001 From: maxcleme Date: Tue, 17 Feb 2026 07:52:44 +0100 Subject: [PATCH 2/4] chore(ci): replace deprecated docker publish action Signed-off-by: maxcleme --- .github/workflows/ci.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee02367..3008e01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,12 +47,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true - - name: Publish to registry - if: "contains(github.ref, 'master') && !contains(toJSON(github.event.commits.*.msg), '[skip-ci]')" - uses: elgohr/Publish-Docker-Github-Action@master + - name: Login to Docker Hub + uses: docker/login-action@v3 with: - name: maxcleme/beadcolors - dockerfile: Dockerfile.website username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - tags: ${{ steps.tagging.outputs.new_tag }},latest + - name: Build and push + uses: docker/build-push-action@v6 + with: + tags: + - maxcleme/beadcolors:${{ steps.tagging.outputs.new_tag }} + - maxcleme/beadcolors:latest + push: true From cb296f6f4d04082afececb1ca9087b99f237f539 Mon Sep 17 00:00:00 2001 From: maxcleme Date: Tue, 17 Feb 2026 07:52:54 +0100 Subject: [PATCH 3/4] feat(ci): add PR workflow Signed-off-by: maxcleme --- .github/workflows/pr.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..f2448c7 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,29 @@ +name: PR Checks + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + submodules: "recursive" + - name: Test + uses: docker://golang:latest + with: + entrypoint: /bin/sh + args: | + -c "\ + cd generation/ && go test ./... + - name: Test Generation + uses: docker://golang:latest + with: + entrypoint: /bin/sh + args: | + -c "\ + cd generation/ && go run ./... ../raw ../gen + - name: Build + uses: docker/build-push-action@v6 + with: + push: false From bb73ba6719be08af5941ac9185937849066967bd Mon Sep 17 00:00:00 2001 From: maxcleme Date: Tue, 17 Feb 2026 07:55:29 +0100 Subject: [PATCH 4/4] chore: Dockerfile.website -> Dockerfile Signed-off-by: maxcleme --- Dockerfile.website => Dockerfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Dockerfile.website => Dockerfile (100%) diff --git a/Dockerfile.website b/Dockerfile similarity index 100% rename from Dockerfile.website rename to Dockerfile