Compare commits
19 Commits
2ffe17ca60
...
v1.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
96f1a40266
|
|||
|
959ba7d2d1
|
|||
|
c579fc95be
|
|||
|
d70aa85f99
|
|||
|
e5276053f2
|
|||
|
9f9386eba8
|
|||
|
1ff7d6b776
|
|||
|
9fd789bb6a
|
|||
|
043d4c0d5e
|
|||
|
59ba5a00e1
|
|||
|
50da145feb
|
|||
|
0b5943f792
|
|||
|
ba31c4f582
|
|||
|
370b875df1
|
|||
|
9393004434
|
|||
|
aec68c3ea5
|
|||
|
baad115f01
|
|||
|
09e1b2bcdc
|
|||
|
3596998f28
|
@@ -23,16 +23,21 @@ jobs:
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login git.miaurizius.de \
|
||||
--username "${{ gitea.actor }}" \
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.miaurizius.de \
|
||||
--username "${{ secrets.REGISTRY_USER }}" \
|
||||
--password-stdin
|
||||
|
||||
- name: Prepare Docker image tags
|
||||
run: |
|
||||
IMAGE_REPO="$(echo "git.miaurizius.de/${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]')"
|
||||
echo "IMAGE_REPO=$IMAGE_REPO" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Build and push multi-arch Docker image
|
||||
run: |
|
||||
docker buildx build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--file ./Dockerfile \
|
||||
--tag git.miaurizius.de/${{ gitea.repository }}:latest \
|
||||
--tag git.miaurizius.de/${{ gitea.repository }}:${{ gitea.event.release.tag_name }} \
|
||||
--tag "$IMAGE_REPO:latest" \
|
||||
--tag "$IMAGE_REPO:${{ gitea.event.release.tag_name }}" \
|
||||
--push \
|
||||
.
|
||||
Reference in New Issue
Block a user