Skip to content

fix(guide): Fix Guide modal image problem #64

fix(guide): Fix Guide modal image problem

fix(guide): Fix Guide modal image problem #64

Workflow file for this run

name: Docker
on:
push:
branches:
- "canon"
- "dev"
workflow_dispatch:
pull_request:
branches:
- "canon"
- "dev"
workflow_dispatch:
env:
APP_VERSION: 0.1.0
jobs:
push:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16.17
- name: install node modules
run: npm install --legacy-peer-deps
- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.LOGIN_DOCKERHUB }}
password: ${{ secrets.PASSWORD_DOCKERHUB }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: arkulturtest/sidious
- name: Build and push canon Docker image
if: github.ref == 'refs/heads/canon' && github.event_name != 'pull_request'
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: arkulturtest/sidious:canon, arkulturtest/sidious:${{ env.APP_VERSION }}
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push dev docker image
if: github.ref == 'refs/heads/dev' && github.event_name != 'pull_request'
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: arkulturtest/sidious:${{ env.APP_VERSION }}-dev, arkulturtest/sidious:dev
labels: ${{ steps.meta.outputs.labels }}