27 lines
No EOL
596 B
YAML
27 lines
No EOL
596 B
YAML
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
image: [pyenv, nix-example]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
file: ${{ matrix.image }}/Dockerfile
|
|
push: true
|
|
tags: osbm/${{ matrix.image }}:latest |