Skip to content

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Make envfile
run: |
cat > .env.production
echo "NEXT_PUBLIC_URL_API=secrets.URL_API" >> .env.production
echo "$(<.env.production)"
- name: Build
run: docker build . -t brunobentocaina/open-adm-ui:latest
- name: Push
run: |
docker login -u brunobentocaina -p ${{ secrets.DOCKER_HUB_KEY }}
docker push brunobentocaina/open-adm-ui:latest