Moved DOCKERFILE #46
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: Build and Push Experimental Docker Image | |
on: | |
push: | |
branches: | |
- experimental | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- experimental | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
with: | |
platforms: arm64, amd64 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and push Experimental Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./backend | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
tags: | | |
schech1/uptime-buddy-api:experimental |