Merge pull request #29 from LN-Zap/docker-stop #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dev | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
publish: | |
runs-on: "ubuntu-latest" | |
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 |