This repository has been archived on 2024-06-12. You can view files and clone it, but cannot push or open issues or pull requests.
ipserv/.gitea/workflows/docker-build-publish.yaml
Nexus f6dc105976
All checks were successful
Build and Publish ipserv / build_and_publish (push) Successful in 14s
Remove hash-based image tags (they're massive)
2024-04-22 16:57:35 +01:00

19 lines
No EOL
591 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 .
- 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