actions / actions/runner

docker based action not pulling latest base image when building container

Open
#1,713 14 comments 2 reactions 1 assignee View on GitHub

@nikola-jokic is already working on this.

Since Feb 25, 2022.

enhancement
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug
When using a docker based action the runner builds the container for that action based on the Dockerfile but it doesn't check if there is a new image with the tag specified in FROM in the registry.

To Reproduce
Steps to reproduce the behavior:

  1. have a Dockerfile based action and run it
  2. change the base image referenced in the Dockerfile
  3. run the action again

Expected behavior
action is executed in a container based on the changed base container

Runner Version and Platform

Runner: 2.278.0
GitHub Enterprise Server 3.1.14

Runner OS Ubuntu 20.04

What's not working?

old, cached base image used

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.