Skip to content

testing...

testing... #3

Workflow file for this run

name: Deploy deeplinks app
on:
push:
branches: [ docker-hub-menzorg-deepcase-main ]
pull_request:
branches: [ docker-hub-menzorg-deepcase-main ]
workflow_dispatch:
defaults:
run:
working-directory: ./
jobs:
dockerize:
name: dockerize
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '15.10'
- name: env
run: |
cp .docker.env .env
export $(grep -v '^#' .env | xargs);
- name: Install
run: npm ci
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_TEST_USERNAME }}
password: ${{ secrets.DOCKER_TEST_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: menzorg/deeplinks
- name: build docker image and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}