mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
Compare commits
7 commits
6936b4dd57
...
154c34a4d7
Author | SHA1 | Date | |
---|---|---|---|
![]() |
154c34a4d7 | ||
![]() |
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:
|
build_image:
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Login to Registry (mr)
|
- 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
|
- name: Extract Short SHA
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "::set-output name=short_sha::$(echo $GITHUB_SHA | cut -c1-7)"
|
run: echo "::set-output name=short_sha::$(echo $GITHUB_SHA | cut -c1-7)"
|
||||||
|
@ -69,14 +69,13 @@ jobs:
|
||||||
|
|
||||||
build_image_main:
|
build_image_main:
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
needs: build
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Login to Registry (main)
|
- 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
|
- name: Extract Short SHA
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "::set-output name=short_sha::$(echo $GITHUB_SHA | cut -c1-7)"
|
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
|
## Understanding the Spring Petclinic application with a few diagrams
|
||||||
|
|
||||||
## TESTMESSAGE
|
## TESTMESSAGE asdasdasda
|
||||||
|
|
||||||
[See the presentation here](https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application)
|
[See the presentation here](https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue