diff --git a/.forgejo/workflows/build-image.yml b/.forgejo/workflows/build-image.yml index 760ae58..149b3d7 100644 --- a/.forgejo/workflows/build-image.yml +++ b/.forgejo/workflows/build-image.yml @@ -13,14 +13,14 @@ jobs: - name: Clear image from cache run: | - docker images git.kemitix.net/kemitix/rust -q | sort -u | xargs -r docker rmi --force + docker images git.kemitix.net/${{ env.GITHUB_REPOSITORY }} -q | sort -u | xargs -r docker rmi --force docker system prune --force --all - name: Build - run: docker build . -t git.kemitix.net/kemitix/rust:latest + run: docker build . -t git.kemitix.net/${{ env.GITHUB_REPOSITORY }}:latest - name: Login - run: docker login --username kemitix --password ${{ secrets.FORGE_USER_PASSWORD }} git.kemitix.net + run: docker login git.kemiti.net --username kemitix --password ${{ env.GITHUB_TOKEN }} - name: Publish - run: docker push git.kemitix.net/kemitix/rust:latest + run: docker push git.kemitix.net/${{ env.GITHUB_REPOSITORY }}:latest