-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 993 Bytes
/
proxy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Proxy
on:
workflow_dispatch: {}
push:
branches:
- "main"
paths:
- ".github/workflows/proxy.yml"
- "proxy/**"
jobs:
build-images:
strategy:
fail-fast: false
matrix:
include:
- context: .
file: docker/dockerfile.proxy
endpoint: demeter-run/ext-cardano-node-proxy
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ${{ matrix.context }}
file: ${{ matrix.file }}
platforms: linux/amd64
push: true
tags: ghcr.io/${{ matrix.endpoint }},ghcr.io/${{ matrix.endpoint }}:${{ github.sha }}