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