Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
Removing testing self-hosted instance.
Publishing image
  • Loading branch information
nicomt authored Mar 4, 2024
1 parent 6049ceb commit fb3b12d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,14 @@ name: Docker Publish

on:
workflow_dispatch:
inputs:
chosen-runner:
description: 'Choose the runner to use'
required: true
type: choice
default: 'ubuntu-latest'
options:
- 'ubuntu-latest'
- 'self-hosted'
push:
tags:
- 'v*'
env:
DOCKER_IMAGE: nicomt/ckron
jobs:
publish-docker:
runs-on: ${{ github.event_name == 'push' && 'ubuntu-latest' || inputs.chosen-runner }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
Expand All @@ -42,6 +33,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64/v8,linux/ppc64le
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit fb3b12d

Please sign in to comment.