nexy7574
fd9535c87a
All checks were successful
Build and Publish ipserv / build_and_publish (push) Successful in 10s
19 lines
No EOL
693 B
YAML
19 lines
No EOL
693 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.sha }} .
|
|
- 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; docker push git.i-am.nexus/nex/ipserv:${{ gitea.sha }} |