Merge pull request 'chore: workflow update' (#1) from feature/scaffold into main
Docker Image CI / build_and_publish (push) Successful in 24s
Docker Image CI / build_and_publish (push) Successful in 24s
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
name: Docker Image CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
- '!feature/**'
|
||||
- '!bugfix/**'
|
||||
- '!hotfix/**'
|
||||
|
||||
jobs:
|
||||
build_and_publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build and push to Local Registry
|
||||
run: |
|
||||
echo "${{ secrets.ACCESS_TOKEN }}" | docker login 127.0.0.1:3000 --username "${{ gitea.actor }}" --password-stdin
|
||||
|
||||
docker build . --tag 127.0.0.1:3000/${{ gitea.repository }}:latest
|
||||
|
||||
docker push 127.0.0.1:3000/${{ gitea.repository }}:latest
|
||||
Reference in New Issue
Block a user