Skip to content

Commit 5479739

Browse files
committed
WIP - add build_images workflow
1 parent 97a543a commit 5479739

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build_images.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "Build & push devcontainer"
2+
on:
3+
push:
4+
paths:
5+
- .devcontainer/**
6+
- .github/workflows/build_images.yml
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
packages: write # Required for GHCR
12+
id-token: write # Required for Google Artifact Registry (GAR)
13+
14+
jobs:
15+
build-and-push:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Check out current commit
19+
uses: actions/checkout@v4
20+
21+
- name: Build and push image for amd64
22+
uses: getsentry/action-build-and-push-images@main
23+
with:
24+
image_name: 'sentry-ruby-devcontainer-build'
25+
dockerfile_path: '.devcontainer/Dockerfile'
26+
ghcr: true

0 commit comments

Comments
 (0)