Skip to content

Commit

Permalink
feat: add GHA workflow for docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Jun 30, 2024
1 parent afe0c09 commit 1afc6a8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docker

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container:
- 'ubuntu-20.04'
- 'alpine-3.17'
package_ruby_ver:
- '3.1.6'
- '3.2.3'
container:
image: ghcr.io/tamatebako/tebako-${{ matrix.container }}:latest
steps:
- name: Checkout sample
uses: actions/checkout@v4

- name: Package
run: tebako press -e app.rb -o sinatra.teb -r sinatra -R ${{ matrix.package_ruby_ver }}

- name: Test
run: ./sinatra.teb -h

- name: Look around
run: ls -la

0 comments on commit 1afc6a8

Please sign in to comment.