Skip to content

Merge pull request #629 from h0tw1r3/debian12 #87

Merge pull request #629 from h0tw1r3/debian12

Merge pull request #629 from h0tw1r3/debian12 #87

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