Skip to content

Add basic auth for 030-ballot #33

Add basic auth for 030-ballot

Add basic auth for 030-ballot #33

name: Release docekr image
on: [push]
env:
IMAGE: bedasoftware/au-fhir-core-inferno-inferno
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- run: docker run --rm --privileged tonistiigi/binfmt --install all
- run: >-
docker buildx build --platform linux/arm64,linux/amd64
--push --tag ${{ env.IMAGE }}:latest --tag ${{ env.IMAGE }}:$GITHUB_SHA .