Dev-Version of Builds (maybe) not working #3
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: Dev-Version of Builds (maybe) not working | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- | |
name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: v3.2.1 | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- | |
name: Build and push frontend | |
id: docker_build_frontend | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: | | |
fius/rallly:dev | |
fius/rallly:v3.2.1 | |
file: apps/web/Dockerfile | |
# context: ./apps/web | |
platforms: linux/amd64,linux/arm64/v8 | |
build-args: SELF_HOSTED=true |