gitea: git login

This commit is contained in:
Ondrej Vlach 2023-12-09 02:58:12 +01:00
parent bd06362ae7
commit 932b91067c
Signed by: ovlach
GPG Key ID: 4FF1A23B4914DE70

View File

@ -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