build: publish to the correct repo
Some checks failed
Test / build (map[name:stable]) (push) Successful in 7m1s
Test / build (map[name:nightly]) (push) Successful in 5m39s
Release Please / Release-plz (push) Successful in 47s
Release Please / Docker image (push) Failing after 3m6s

This commit is contained in:
Paul Campbell 2025-01-12 18:43:30 +00:00
parent 352731f6ec
commit 96f70983b9

View file

@ -52,14 +52,16 @@ jobs:
- name: Build - name: Build
run: | run: |
docker build . -t git.kemitix.net/kemitix/rust:latest docker build . -t git.kemitix.net/${{ env.GITHUB_REPOSITORY }}:latest
docker tag git.kemitix.net/kemitix/rust:latest git.kemitix.net/kemitix/rust:${{ env.GITHUB_REF_NAME }} docker tag \
git.kemitix.net/${{ env.GITHUB_REPOSITORY }}:latest \
git.kemitix.net/${{ env.GITHUB_REPOSITORY }}:${{ env.GITHUB_REF_NAME }}
- name: Login - name: Login
run: docker login git.kemitix.net --username kemitix --password ${{ secrets.FORGEJO_TOKEN_WRITE_PACKAGE }} run: docker login git.kemitix.net --username kemitix --password ${{ env.GITHUB_TOKEN }}
- name: Publish - name: Publish
run: | run: |
docker push git.kemitix.net/kemitix/rust:${{ env.GITHUB_REF_NAME }} docker push git.kemitix.net/${{ env.GITHUB_REPOSITORY }}:${{ env.GITHUB_REF_NAME }}
docker push git.kemitix.net/kemitix/rust:latest docker push git.kemitix.net/${{ env.GITHUB_REPOSITORY }}:latest