This commit is contained in:
parent
2e6e8d38dd
commit
6fb4a9b5c1
1 changed files with 7 additions and 7 deletions
|
@ -25,19 +25,19 @@ jobs:
|
|||
docker context create forgejo --docker host=tcp://dind:2376
|
||||
docker context use forgejo
|
||||
|
||||
- name: Log in to Forgejo container registry
|
||||
- name: Build Docker images
|
||||
run: |
|
||||
docker build ./backend --tag git.terah.dev/imterah/hermes:$GITHUB_REF_NAME
|
||||
docker build ./sshfrontend --tag git.terah.dev/imterah/hermes-lom:$GITHUB_REF_NAME
|
||||
|
||||
- name: Log in to our container registry
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
registry: git.terah.dev
|
||||
username: ${{github.actor}}
|
||||
password: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
- name: Build all docker images
|
||||
run: |
|
||||
docker build ./backend --tag git.terah.dev/imterah/hermes:$GITHUB_REF_NAME
|
||||
docker build ./sshfrontend --tag git.terah.dev/imterah/hermes-lom:$GITHUB_REF_NAME
|
||||
|
||||
- name: Upload all docker images
|
||||
- name: Upload all Docker images
|
||||
run: |
|
||||
docker tag git.terah.dev/imterah/hermes:$GITHUB_REF_NAME git.terah.dev/imterah/hermes:latest
|
||||
docker push git.terah.dev/imterah/hermes:$GITHUB_REF_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue