Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Sync workflow style/naming
Browse files Browse the repository at this point in the history
  • Loading branch information
bretthoerner committed Feb 6, 2024
1 parent 74ff834 commit bf7cccf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-capture.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build docker image
name: Build capture docker image

on:
workflow_dispatch:
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
images: ghcr.io/posthog/capture
tags: |
type=ref,event=pr
type=ref,event=branch
Expand All @@ -49,8 +49,8 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2

- name: Build and push
id: docker_build
- name: Build and push capture
id: docker_build_capture
uses: docker/build-push-action@v4
with:
context: ./
Expand All @@ -64,5 +64,5 @@ jobs:
cache-to: type=gha,mode=max
build-args: RUST_BACKTRACE=1 BIN=capture-server

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Capture image digest
run: echo ${{ steps.docker_build_capture.outputs.digest }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-hook-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
platforms: linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: BIN=hook-api
build-args: RUST_BACKTRACE=1 BIN=hook-api

- name: Hook-api image digest
run: echo ${{ steps.docker_build_hook_api.outputs.digest }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-hook-janitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
platforms: linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: BIN=hook-janitor
build-args: RUST_BACKTRACE=1 BIN=hook-janitor

- name: Hook-janitor image digest
run: echo ${{ steps.docker_build_hook_janitor.outputs.digest }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-hook-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
platforms: linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: BIN=hook-worker
build-args: RUST_BACKTRACE=1 BIN=hook-worker

- name: Hook-worker image digest
run: echo ${{ steps.docker_build_hook_worker.outputs.digest }}
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
with:
path: |
~/.cargo/registry
~/.cargo/git
target
~/.cargo/git
target
key: ${ runner.os }-cargo-debug-${{ hashFiles('**/Cargo.lock') }}

- name: Run cargo test
Expand Down

0 comments on commit bf7cccf

Please sign in to comment.