mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 11:22:49 +00:00
Compare commits
6 commits
1f436abce1
...
d8f2bdb1a1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d8f2bdb1a1 | ||
![]() |
8e279057f5 | ||
![]() |
e0d5682f10 | ||
![]() |
c4fa9761de | ||
![]() |
2c0601e951 | ||
![]() |
dbb361571b |
2 changed files with 5 additions and 6 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: ubuntu-latest
|
||||
runs-on: self-hosted
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to Registry (mr)
|
||||
run: echo ${{ secrets.REGISTRY_PASS }} | docker login mr:8084 -u ${{ secrets.REGISTRY_USER }} --password-stdin
|
||||
run: docker login mr:8084 -u ${{ vars.REGISTRY_USER }} -p ${{ vars.REGISTRY_PASS }}
|
||||
- name: Extract Short SHA
|
||||
id: vars
|
||||
run: echo "::set-output name=short_sha::$(echo $GITHUB_SHA | cut -c1-7)"
|
||||
|
@ -69,14 +69,13 @@ jobs:
|
|||
|
||||
build_image_main:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to Registry (main)
|
||||
run: echo ${{ secrets.REGISTRY_PASS }} | docker login main:8083 -u ${{ secrets.REGISTRY_USER }} --password-stdin
|
||||
run: docker login main:8083 -u ${{ vars.REGISTRY_USER }} -p ${{ vars.REGISTRY_PASS }}
|
||||
- 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
|
||||
## TESTMESSAGE asdasdasda
|
||||
|
||||
[See the presentation here](https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application)
|
||||
|
||||
|
|
Loading…
Reference in a new issue