Skip to content

Change image name

Change image name #2

name: 'build'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
schedule:
- cron: '30 5 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/tuomastielinen/dev-container-work-tools
cacheFrom: ghcr.io/tuomastielinen/dev-container-work-tools
push: always