log into CR before pushing
Some checks failed
Build and Publish / build_and_publish (push) Failing after 6s
Some checks failed
Build and Publish / build_and_publish (push) Failing after 6s
This commit is contained in:
parent
62e0ab2fec
commit
cd40f5777c
1 changed files with 3 additions and 3 deletions
|
@ -11,15 +11,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build Docker image
|
|
||||||
run: |
|
|
||||||
docker build -t git.i-am.nexus/nex/link-elongater:latest -t git.i-am.nexus/nex/link-elongater:${branch#refs/heads/} .
|
|
||||||
- name: Log into forgejo CR
|
- name: Log into forgejo CR
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.i-am.nexus
|
registry: git.i-am.nexus
|
||||||
username: nex
|
username: nex
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Build Docker image
|
||||||
|
run: |
|
||||||
|
docker build -t git.i-am.nexus/nex/link-elongater:latest -t git.i-am.nexus/nex/link-elongater:${branch#refs/heads/} .
|
||||||
- name: Push to forgejo CR
|
- name: Push to forgejo CR
|
||||||
run: |
|
run: |
|
||||||
docker push -a git.i-am.nexus/nex/link-elongater
|
docker push -a git.i-am.nexus/nex/link-elongater
|
||||||
|
|
Loading…
Reference in a new issue