add docker container repo push
All checks were successful
Build and Publish drop-in-url-previews / build_and_publish (push) Successful in 31s
All checks were successful
Build and Publish drop-in-url-previews / build_and_publish (push) Successful in 31s
This commit is contained in:
parent
0af19ceb2f
commit
a24a020fc7
1 changed files with 19 additions and 0 deletions
19
.gitea/workflows/publish-docker.yaml
Normal file
19
.gitea/workflows/publish-docker.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
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
|
Loading…
Reference in a new issue