Skip to content

Commit

Permalink
Merge pull request #2 from getsentry/ghcr
Browse files Browse the repository at this point in the history
publish cbtemulator to ghcr
  • Loading branch information
asottile-sentry authored Nov 6, 2024
2 parents d082515 + 699926a commit d28ad6b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
push:
branches: [main, test-me-*]
tags:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- run: docker login --username "$DOCKER_USER" --password "$DOCKER_PASS" ghcr.io
env:
DOCKER_USER: ${{ github.actor }}
DOCKER_PASS: ${{ secrets.GITHUB_TOKEN }}
if: github.event_name != 'pull_request'
- uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
build-args: GOOGLE_CLOUD_GO_VERSION=23c02d92c7a1747068eb1fc57dddbad23907d614
tags: |
ghcr.io/getsentry/cbtemulator:${{ github.sha }}
ghcr.io/getsentry/cbtemulator:latest
10 changes: 0 additions & 10 deletions Makefile

This file was deleted.

0 comments on commit d28ad6b

Please sign in to comment.