Compare commits
2 Commits
e6172ebf4f
...
65f5a75d45
| Author | SHA1 | Date | |
|---|---|---|---|
| 65f5a75d45 | |||
| 59d1bdf828 |
@@ -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