Skip to content

Commit

Permalink
Maybe output is required?
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Jan 7, 2025
1 parent cfbb2b1 commit d60c24e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Candace Savonen Apr 2022
# Candace Savonen Apr 2025

name: Build Docker Image
description: "Build and push from a dockerfile in the repository"
name: 'Build Docker Image'
description: 'Build and push from a dockerfile in the repository'
inputs:
directory:
description: 'What's the file path to this Dockerfile's folder in this repo'
Expand All @@ -25,7 +25,10 @@ inputs:
dockerhub_token:
description: 'A Dockerhub token that has persmissions to push to this image'
required: false

outputs:
success:
value: ${{ steps.push.outcome }}

runs:
using: "composite"
steps:
Expand All @@ -46,6 +49,7 @@ runs:
password: ${{ inputs.dockerhub_token }}

- name: Build
id: push
uses: docker/build-push-action@v6
with:
push: ${{ inputs.dockerhubpush }}
Expand Down

0 comments on commit d60c24e

Please sign in to comment.