Skip to content

Removed print

Removed print #121

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: cd
on:
push:
branches:
- main
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: get-npm-version
id: debiai-version
uses: martinbeentjes/npm-get-version-action@main
with:
path: frontend
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: debiai/app:latest, debiai/app:${{steps.debiai-version.outputs.current-version}}