nexy7574
88484df858
Some checks failed
Build and Publish ipserv / build_and_publish (push) Failing after 34s
19 lines
No EOL
679 B
YAML
19 lines
No EOL
679 B
YAML
name: Build and Publish ipserv
|
|
run-name: Build and Publish ipserv
|
|
on: [push]
|
|
|
|
jobs:
|
|
build_and_publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Build Docker image
|
|
run: |
|
|
docker build -t git.i-am.nexus/nex/ipserv:latest -t git.i-am.nexus/nex/ipserv:${{ gitea.ref }}.
|
|
- name: Log into container registry
|
|
run: |
|
|
docker login -u ${{ secrets.CR_USERNAME }} -p ${{ secrets.CR_PASSWORD }} git.i-am.nexus
|
|
- name: Push to container registry
|
|
run: |
|
|
docker push git.i-am.nexus/nex/ipserv:latest git.i-am.nexus/nex/ipserv:${{ gitea.ref }} |