diff --git a/.gitea/workflows/release_docker.yaml b/.gitea/workflows/release_docker.yaml index ded8f36..b29a87b 100644 --- a/.gitea/workflows/release_docker.yaml +++ b/.gitea/workflows/release_docker.yaml @@ -9,6 +9,12 @@ jobs: name: tests runs-on: ubuntu-latest steps: + - name: Login to git.nanobyte.cz + uses: https://github.com/docker/login-action@v3 + with: + username: ${{ secrets.DEPLOYMENT_PACKAGE }} + password: ${{ secrets.DEPLOYMENT_PACKAGE }} + registry: git.nanobyte.cz - uses: https://github.com/actions/checkout.git@v4 - name: Hash of Cargo.lock id: get-hash @@ -42,6 +48,12 @@ jobs: container: image: ovlach/docker-gitea:v0.0.2-alpha steps: + - name: Login to git.nanobyte.cz + uses: https://github.com/docker/login-action@v3 + with: + username: ${{ secrets.DEPLOYMENT_PACKAGE }} + password: ${{ secrets.DEPLOYMENT_PACKAGE }} + registry: git.nanobyte.cz - uses: https://github.com/actions/checkout.git@v4 - name: Login to git.nanobyte.cz uses: https://github.com/docker/login-action@v3 @@ -61,6 +73,12 @@ jobs: runs-on: ubuntu-latest needs: [docker] # require tests to pass before deploy runs steps: + - name: Login to git.nanobyte.cz + uses: https://github.com/docker/login-action@v3 + with: + username: ${{ secrets.DEPLOYMENT_PACKAGE }} + password: ${{ secrets.DEPLOYMENT_PACKAGE }} + registry: git.nanobyte.cz - name: Install kustomize run: | curl -L https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.3.0/kustomize_v5.3.0_linux_amd64.tar.gz -o kustomize.tar.gz && tar -xzf kustomize.tar.gz