-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 1.13 KB
/
dev.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
name: Dev
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
jobs:
publish:
runs-on: [ arc-runner-set ]
env:
GAR_REGISTRY: us-east1-docker.pkg.dev
GAR_IMAGE: zap-strike-infrastructure/zap-container-registry/bitcoin-blended-fee-estimator
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4
- name: 'Setup Google Artifact Registry'
uses: LN-Zap/zap-github-actions/.github/actions/setup-google-artifact-registry@master
with:
registry: ${{ env.GAR_REGISTRY }}
credentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_ARTIFACT_REGISTRY }}
- uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # pin@v3
- uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # pin@v3
- name: Build and push
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # pin@v5
with:
context: .
push: true
tags: ${{ env.GAR_REGISTRY }}/${{ env.GAR_IMAGE }}:dev
cache-from: type=gha
cache-to: type=gha,mode=max