[GH-ISSUE #43] Reusing same (local) action builds image multiple times #24

Closed
opened 2026-03-01 21:39:11 +03:00 by kerem · 1 comment
Owner

Originally created by @xendk on GitHub (Feb 22, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/43

[Feature tests] Building image from '/home/xen/dev/acdc/.github/actions/php-action'
[Spec tests] Building image from '/home/xen/dev/acdc/.github/actions/php-action'
DEBU[0003] Creating archive for build context dir '/home/xen/dev/acdc/.github/actions/php-action' with relative dockerfile 'Dockerfile' 
[Unit tests] Building image from '/home/xen/dev/acdc/.github/actions/php-action'
DEBU[0003] Creating archive for build context dir '/home/xen/dev/acdc/.github/actions/php-action' with relative dockerfile 'Dockerfile' 
[Feature tests] Creating image from context dir '/home/xen/dev/acdc/.github/actions/php-action' with tag 'php-action:de6d421'
[Unit tests] Creating image from context dir '/home/xen/dev/acdc/.github/actions/php-action' with tag 'php-action:de6d421'
DEBU[0003] Creating archive for build context dir '/home/xen/dev/acdc/.github/actions/php-action' with relative dockerfile 'Dockerfile' 
[Spec tests] Creating image from context dir '/home/xen/dev/acdc/.github/actions/php-action' with tag 'php-action:de6d421'

Not so much a problem when the image has been built, but if one changes the action, it starts the build process three times.

Originally created by @xendk on GitHub (Feb 22, 2019). Original GitHub issue: https://github.com/nektos/act/issues/43 ``` [Feature tests] Building image from '/home/xen/dev/acdc/.github/actions/php-action' [Spec tests] Building image from '/home/xen/dev/acdc/.github/actions/php-action' DEBU[0003] Creating archive for build context dir '/home/xen/dev/acdc/.github/actions/php-action' with relative dockerfile 'Dockerfile' [Unit tests] Building image from '/home/xen/dev/acdc/.github/actions/php-action' DEBU[0003] Creating archive for build context dir '/home/xen/dev/acdc/.github/actions/php-action' with relative dockerfile 'Dockerfile' [Feature tests] Creating image from context dir '/home/xen/dev/acdc/.github/actions/php-action' with tag 'php-action:de6d421' [Unit tests] Creating image from context dir '/home/xen/dev/acdc/.github/actions/php-action' with tag 'php-action:de6d421' DEBU[0003] Creating archive for build context dir '/home/xen/dev/acdc/.github/actions/php-action' with relative dockerfile 'Dockerfile' [Spec tests] Creating image from context dir '/home/xen/dev/acdc/.github/actions/php-action' with tag 'php-action:de6d421' ``` Not so much a problem when the image has been built, but if one changes the action, it starts the build process three times.
kerem closed this issue 2026-03-01 21:39:12 +03:00
Author
Owner

@cplee commented on GitHub (Feb 25, 2020):

fixed in 0.2.0

<!-- gh-comment-id:590713674 --> @cplee commented on GitHub (Feb 25, 2020): fixed in `0.2.0`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#24
No description provided.