mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 05:15:50 +00:00
Compare commits
1 commit
154c34a4d7
...
6936b4dd57
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6936b4dd57 |
2 changed files with 6 additions and 5 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -51,14 +51,14 @@ jobs:
|
|||
|
||||
build_image:
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to Registry (mr)
|
||||
run: docker login mr:8084 -u ${{ vars.REGISTRY_USER }} -p ${{ vars.REGISTRY_PASS }}
|
||||
run: echo ${{ secrets.REGISTRY_PASS }} | docker login mr:8084 -u ${{ secrets.REGISTRY_USER }} --password-stdin
|
||||
- name: Extract Short SHA
|
||||
id: vars
|
||||
run: echo "::set-output name=short_sha::$(echo $GITHUB_SHA | cut -c1-7)"
|
||||
|
@ -69,13 +69,14 @@ jobs:
|
|||
|
||||
build_image_main:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to Registry (main)
|
||||
run: docker login main:8083 -u ${{ vars.REGISTRY_USER }} -p ${{ vars.REGISTRY_PASS }}
|
||||
run: echo ${{ secrets.REGISTRY_PASS }} | docker login main:8083 -u ${{ secrets.REGISTRY_USER }} --password-stdin
|
||||
- name: Extract Short SHA
|
||||
id: vars
|
||||
run: echo "::set-output name=short_sha::$(echo $GITHUB_SHA | cut -c1-7)"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
## Understanding the Spring Petclinic application with a few diagrams
|
||||
|
||||
## TESTMESSAGE asdasdasda
|
||||
## TESTMESSAGE
|
||||
|
||||
[See the presentation here](https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application)
|
||||
|
||||
|
|
Loading…
Reference in a new issue