Skip to content

fix typo.

fix typo. #289

Workflow file for this run

name: Docker
on:
push:
branches:
- "canon"
- "dev"
- "transition/js"
workflow_dispatch:
pull_request:
branches:
- "canon"
- "dev"
workflow_dispatch:
env:
APP_VERSION: 0.4.2
jobs:
push:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 18
- name: Start containers to check if it builds
run: docker-compose -f "docker-compose.yml" up -d --build
- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.yml" down
- run: npm install
- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.LOGIN_DOCKERHUB_TEST }}
password: ${{ secrets.PASSWORD_DOCKERHUB_TEST }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: arkulturtest/naboo
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}