Skip to content

Commit ff8f2c8

Browse files
⚡ Improve Taskfiles and workflows with new options (#197)
Added: - better docker building; - release workflow handling; - syncing common files with template repo; Co-authored-by: ChristophShyper <[email protected]>
1 parent b2895bf commit ff8f2c8

File tree

6 files changed

+285
-298
lines changed

6 files changed

+285
-298
lines changed

.github/workflows/cron-check-dependencies.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
run: task docker:cmds
4444

4545
- name: Build and push test image
46+
env:
47+
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4649
run: task docker:push
4750

4851
- name: Inspect image

.github/workflows/manual-update-version.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,11 @@ on:
2121
permissions:
2222
contents: write
2323
pull-requests: write
24-
packages: write
2524

2625
jobs:
2726
update:
2827
name: Update version and push release branch
29-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-24.04-arm
3029
steps:
3130
- name: Checkout
3231
uses: actions/checkout@v5
@@ -70,29 +69,6 @@ jobs:
7069
esac
7170
echo "REL_VERSION=$(task version:get)" >> "$GITHUB_OUTPUT"
7271
73-
- name: Install Docker Buildx
74-
uses: docker/setup-buildx-action@v3
75-
with:
76-
install: true
77-
78-
- name: Install QEMU
79-
uses: docker/setup-qemu-action@v3
80-
with:
81-
image: tonistiigi/binfmt:latest
82-
platforms: amd64,arm64
83-
84-
- name: Get Docker commands
85-
run: task docker:cmds
86-
87-
- name: Build and push test image
88-
env:
89-
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
90-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91-
run: task docker:push
92-
93-
- name: Inspect image
94-
run: task docker:push:inspect
95-
9672
- name: Get template
9773
env:
9874
VERSION_SUFFIX: ""

0 commit comments

Comments
 (0)