Skip to content

fix: change variable name to {headers} #15

fix: change variable name to {headers}

fix: change variable name to {headers} #15

Workflow file for this run

name: Build and push mvp
on:
push:
branches:
- 'feature/new'
jobs:
build-docker-image:
runs-on: ubuntu-latest
env:
REGISTRY: docker.io
IMAGE_NAME: ehrbase/integration-tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# Docker metadata extraction - obtain version and labels from here
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# setup qemu for multi arch
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# setup buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-mvp
labels: ${{ steps.meta.outputs.labels }}