Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sva committed Feb 4, 2025
1 parent 0cf0a4e commit 6ecda64
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release Service
on:
workflow_call:
inputs:
service:
description: 'Service to build'
required: true
type: string
workflow_dispatch:
inputs:
service:
description: 'Service to build'
required: true
type: string
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v4

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

- name: Build Docker Image
run: |
make docker-build \
SERVICES="${{ inputs.service }}" \
PLATFORMS="linux/amd64,linux/arm64" \
IMAGE_REGISTRY="push.svahub.io/marcus/hobbyfarm" \
IMAGE_TAG="v0.0.0"
- name: Push Docker Image
run: |
make docker-push \
SERVICES="${{ inputs.service }}" \
PLATFORMS="linux/amd64,linux/arm64" \
IMAGE_REGISTRY="push.svahub.io/marcus/hobbyfarm" \
IMAGE_TAG="v0.0.0"

0 comments on commit 6ecda64

Please sign in to comment.