Skip to content

build and push

build and push #3

name: Update Director Dockerhub Image
on:
push:
branches:
- master
- skip-hook-finished-instance
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- uses: actions/checkout@master
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Configure Azure credentials
uses: azure/docker-login@v1
with:
login-server: ${{ secrets.ACR_HOST }}
username: ${{ secrets.ACR_PULL_USER }}
password: ${{ secrets.ACR_PULL_PASSWORD }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Dockerhub Release
run: ./scripts/release-dockerhub.sh -s director