drop-in-url-previews/.gitea/workflows/publish-docker.yaml
nexy7574 a24a020fc7
All checks were successful
Build and Publish drop-in-url-previews / build_and_publish (push) Successful in 31s
add docker container repo push
2024-04-22 16:45:41 +01:00

19 lines
No EOL
647 B
YAML

name: Build and Publish drop-in-url-previews
run-name: Build and Publish drop-in-url-previews
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/drop-in-url-previews: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/drop-in-url-previews:latest