build: publish to the correct repo
This commit is contained in:
parent
352731f6ec
commit
96f70983b9
1 changed files with 7 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue