Skip to content

fix: docker nginx config #44

fix: docker nginx config

fix: docker nginx config #44

Workflow file for this run

name: Docker 🐳
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
env:
GIT_LFS_SKIP_SMUDGE: 1
permissions:
id-token: write
contents: write
packages: write
jobs:
docker:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
images:
- path: "docker/namadillo/Dockerfile"
tag: "namadillo-main"
- path: "docker/faucet/Dockerfile"
tag: "faucet-interface-main"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository_owner }}/namada-interface
tags: type=raw,value=${{ matrix.images.tag }}
- name: Build and Push docker image
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.images.path }}
push: ${{ github.ref == 'refs/heads/main' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max