Skip to content

Commit

Permalink
hack: Reorder steps in action.
Browse files Browse the repository at this point in the history
  • Loading branch information
imterah committed Dec 24, 2024
1 parent 2e6e8d3 commit 6fb4a9b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .forgejo/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fb4a9b

Please sign in to comment.