Skip to content

Add go to pyc devcontainer #6

Add go to pyc devcontainer

Add go to pyc devcontainer #6

name: Build PYC
on: # rebuild any PRs and main branch changes
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
pyc:
- 'pyc/**'
- name: Docker Login
uses: docker/[email protected]
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
with:
username: ${{ github.repository_owner }} # optional
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build janhurst/devcontainer:pyc
if: steps.filter.outputs.pyc == 'true' || github.event == 'workflow_dispatch'
uses: devcontainers/[email protected]
with:
imageName: janhurst/devcontainer
imageTag: pyc
subFolder: pyc
push: always