Skip to content

Commit

Permalink
Add build action.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Jul 25, 2024
1 parent e0bacdd commit 337e014
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/diagnostics-image-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Diagnostics Image Build

on:
push:

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
build-docker-image:
name: Build diagnostics-app Docker Image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Image
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
cache-from: type=registry,ref=${{vars.DIAGNOSTICS_DOCKER_REGISTRY}}:latest
context: .
file: ./tools/diagnostics-app/Dockerfile
6 changes: 3 additions & 3 deletions .github/workflows/diagnostics-image-release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Publishes the Docker image to DockerHub
# This is triggered whenever the `service` is versioned and tagged
name: Docker Image Release
# Publishes the Diagnostics App Docker image to DockerHub
# This is triggered whenever the `diagnostics-app` package is versioned and tagged
name: Diagnostics Image Release

on:
workflow_dispatch:
Expand Down

0 comments on commit 337e014

Please sign in to comment.