Skip to content

Commit

Permalink
Merge pull request #3 from ditkrg/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
MohamadTahir authored Mar 19, 2023
2 parents 267fb70 + ae8a360 commit feea007
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ on:
type: string
default: reg.dev.krd
required: false
timeout:
type: number
default: 10
required: false

runs-on:
type: string
default: "[ 'self-hosted', 'ubuntu-focal' ]"
default: "[ 'ubuntu-latest' ]"
required: false

secrets:
Expand All @@ -43,7 +47,7 @@ jobs:
build-push:
name: Build and Push
runs-on: ${{ fromJson(inputs.runs-on) }}
timeout-minutes: 10
timeout-minutes: ${{ inputs.timeout }}
outputs:
tag: ${{ fromJson(steps.meta.outputs.json).tags[0] }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -78,7 +82,7 @@ jobs:
password: ${{ secrets.password }}

- name: Build Docker images
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
push: true
file: ${{ inputs.file }}
Expand Down

0 comments on commit feea007

Please sign in to comment.