Skip to content

Merge branch 'rely_on_commits' #45

Merge branch 'rely_on_commits'

Merge branch 'rely_on_commits' #45

Workflow file for this run

name: Build main
on:
push:
# When merged this should end up being branches: [master] (or,
# better yet, branches: [main]).
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- webapp
- assets
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v2
env:
BUNDLE_RUBYGEMS__PKG__GITHUB__COM: ${{secrets.GH_PACKAGE_READ_TOKEN}}
with:
context: .
file: Dockerfile.prod
target: ${{ matrix.target }}
push: true
tags: |
ghcr.io/mlibrary/dromedary/dromedary_unstable_${{ matrix.target }}:latest
ghcr.io/mlibrary/dromedary/dromedary_unstable_${{ matrix.target }}:${{ github.sha }}