Skip to content

Merge pull request #514 from EscolaLMS/feature/REK-64 #90

Merge pull request #514 from EscolaLMS/feature/REK-64

Merge pull request #514 from EscolaLMS/feature/REK-64 #90

name: Publish development Package to dockerhub
on:
repository_dispatch:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: "arm64,arm"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
# Cannot be built at the moment https://github.com/nodejs/docker-node/issues/1335
# platforms: linux/amd64,linux/arm64
tags: escolalms/demo:dev
build-args: APP_VERSION=dev