Skip to content

Commit 8486ef0

Browse files
author
Miguel Savignano
committed
fix catch errors
1 parent 1383bb1 commit 8486ef0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ const { dockerBuild } = __webpack_require__(846);
987987

988988
async function run() {
989989
try {
990-
dockerBuild({
990+
await dockerBuild({
991991
imageName: core.getInput("image_name"),
992992
imageTag: core.getInput("image_tag") || process.env.GITHUB_SHA,
993993
cacheImageName: core.getInput("cache_image_name"),

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { dockerBuild } = require("./cached-docker-build-push");
33

44
async function run() {
55
try {
6-
dockerBuild({
6+
await dockerBuild({
77
imageName: core.getInput("image_name"),
88
imageTag: core.getInput("image_tag") || process.env.GITHUB_SHA,
99
cacheImageName: core.getInput("cache_image_name"),

0 commit comments

Comments
 (0)