Skip to content

Commit

Permalink
Merge pull request #1 from jason-meredith-rewind/feature/ghcr
Browse files Browse the repository at this point in the history
Add docker-dev.yml
  • Loading branch information
jason-meredith-rewind authored May 30, 2024
2 parents d61d7e8 + 6be4066 commit 352b1d2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docker-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build dev image
concurrency: docker

on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- 'docs/**'
- '*.md'
- './github/*'

workflow_dispatch:

repository_dispatch:
types: [base-image]

jobs:

development:
name: "Build development image"
uses: rewindio/github-action-ghcr/.github/workflows/build-and-push.yml@v0
with:
docker_target: development
docker_image_repository: ${{ github.repository }}
platforms: "linux/amd64,linux/arm64"
secrets:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
BUILD_ARGS: |
CONTAINER_REGISTRY_PAT=${{ secrets.REWIND_GITHUB_PACKAGES_READ_ONLY_TOKEN }}
CACHE_REPOSITORY=ghcr.io/${{ github.repository }}
CACHE_TAG=development

0 comments on commit 352b1d2

Please sign in to comment.