Skip to content

Make the workflow responsible for passing the full image tag(s) to th… #37

Make the workflow responsible for passing the full image tag(s) to th…

Make the workflow responsible for passing the full image tag(s) to th… #37

name: Test ruby feature
on:
push:
jobs:
build:
name: Test ruby feature
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and test devcontainer
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/rails/devcontainer/test-ruby-feature
cacheFrom: ghcr.io/rails/devcontainer/test-ruby-feature
subFolder: .github
refFilterForPush: refs/heads/main
runCmd: ruby -v || ( echo "Ruby is not installed."; exit 1 )