log into CR before pushing
Some checks failed
Build and Publish / build_and_publish (push) Failing after 6s

This commit is contained in:
Nexus 2024-06-03 18:19:26 +01:00
parent 62e0ab2fec
commit cd40f5777c
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

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