gitea: git login
This commit is contained in:
parent
bd06362ae7
commit
932b91067c
@ -9,6 +9,12 @@ jobs:
|
|||||||
name: tests
|
name: tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
- uses: https://github.com/actions/checkout.git@v4
|
||||||
- name: Hash of Cargo.lock
|
- name: Hash of Cargo.lock
|
||||||
id: get-hash
|
id: get-hash
|
||||||
@ -42,6 +48,12 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: ovlach/docker-gitea:v0.0.2-alpha
|
image: ovlach/docker-gitea:v0.0.2-alpha
|
||||||
steps:
|
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
|
- uses: https://github.com/actions/checkout.git@v4
|
||||||
- name: Login to git.nanobyte.cz
|
- name: Login to git.nanobyte.cz
|
||||||
uses: https://github.com/docker/login-action@v3
|
uses: https://github.com/docker/login-action@v3
|
||||||
@ -61,6 +73,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [docker] # require tests to pass before deploy runs
|
needs: [docker] # require tests to pass before deploy runs
|
||||||
steps:
|
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
|
- name: Install kustomize
|
||||||
run: |
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user