Skip to content

Merge pull request #621 from nmburgan/issue/main/pe-36861_needrestart #77

Merge pull request #621 from nmburgan/issue/main/pe-36861_needrestart

Merge pull request #621 from nmburgan/issue/main/pe-36861_needrestart #77

Workflow file for this run

name: Docker test and publish
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- run: gem install bundler
- name: Build container
env:
IS_LATEST: true
working-directory: docker
run: make lint build test
- name: Publish container
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
IS_LATEST: true
working-directory: docker
run: |
docker login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD"
make publish