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:
|
||||
- name: Check out repository code
|
||||
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
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.i-am.nexus
|
||||
username: nex
|
||||
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
|
||||
run: |
|
||||
docker push -a git.i-am.nexus/nex/link-elongater
|
||||
|
|
Loading…
Reference in a new issue