|
37 | 37 | tags: |
|
38 | 38 | type=sha,event=branch
|
39 | 39 | type=ref,event=tag
|
| 40 | + - name: Build and push server docker image |
| 41 | + uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 |
| 42 | + with: |
| 43 | + context: . |
| 44 | + push: true |
| 45 | + tags: ${{ steps.meta_server.outputs.tags }} |
| 46 | + labels: ${{ steps.meta_server.outputs.labels }} |
| 47 | + vault-monitor: |
| 48 | + runs-on: ubuntu-latest |
| 49 | + steps: |
| 50 | + - uses: actions/checkout@v2 |
| 51 | + - name: Log in to the Container registry |
| 52 | + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 |
| 53 | + with: |
| 54 | + registry: ${{ env.REGISTRY }} |
| 55 | + username: ${{ github.actor }} |
| 56 | + password: ${{ secrets.GITHUB_TOKEN }} |
40 | 57 | - name: Extract metadata (tags, labels) for Docker
|
41 | 58 | id: meta_monitor
|
42 | 59 | uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
|
|
45 | 62 | tags: |
|
46 | 63 | type=sha,event=branch
|
47 | 64 | type=ref,event=tag
|
48 |
| - - name: Extract metadata (tags, labels) for Docker |
49 |
| - id: meta_swap_beacon |
50 |
| - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 |
51 |
| - with: |
52 |
| - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-swap-beacon |
53 |
| - tags: | |
54 |
| - type=sha,event=branch |
55 |
| - type=ref,event=tag |
56 |
| - - name: Build and push server docker image |
57 |
| - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 |
58 |
| - with: |
59 |
| - context: . |
60 |
| - push: true |
61 |
| - tags: ${{ steps.meta_server.outputs.tags }} |
62 |
| - labels: ${{ steps.meta_server.outputs.labels }} |
63 | 65 | - name: Build and push vault monitor docker image
|
64 | 66 | uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
65 | 67 | with:
|
|
68 | 70 | push: true
|
69 | 71 | tags: ${{ steps.meta_monitor.outputs.tags }}
|
70 | 72 | labels: ${{ steps.meta_monitor.outputs.labels }}
|
| 73 | + swap-beacon: |
| 74 | + runs-on: ubuntu-latest |
| 75 | + steps: |
| 76 | + - uses: actions/checkout@v2 |
| 77 | + - name: Log in to the Container registry |
| 78 | + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 |
| 79 | + with: |
| 80 | + registry: ${{ env.REGISTRY }} |
| 81 | + username: ${{ github.actor }} |
| 82 | + password: ${{ secrets.GITHUB_TOKEN }} |
| 83 | + - name: Extract metadata (tags, labels) for Docker |
| 84 | + id: meta_swap_beacon |
| 85 | + uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 |
| 86 | + with: |
| 87 | + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-swap-beacon |
| 88 | + tags: | |
| 89 | + type=sha,event=branch |
| 90 | + type=ref,event=tag |
71 | 91 | - name: Build and push swap beacon docker image
|
72 | 92 | uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
73 | 93 | with:
|
|
0 commit comments