Skip to content

Test qa workflow change to try to force image update #110

Test qa workflow change to try to force image update

Test qa workflow change to try to force image update #110

Workflow file for this run

name: publish-qa
on:
push:
branches:
- qa-one
- qa-two
env:
NODE_VERSION: 18.x
DOCKER_REPO: sheltertechsf/askdarcel-web
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- run: npm ci
- run: cp config.example.yml config.yml
- run: CONFIG_YAML=config.docker.yml npm run build
- run: touch version.json
- uses: docker/build-push-action@v2
with:
push: true
context: .
tags: ${{ env.DOCKER_REPO }}:qa-one-latest
- run: echo ${{ steps.docker_build.outputs.digest }}