I was using this for docker:
- name: Build container image
uses: actions/docker/cli@master
with:
///// removed
- name: Docker Login
uses: actions/docker/login@master
env:
///// removed
However github.com/actions/docker do not seem to exist anymore.
My builds are giving 404:
Failed to download action 'https://api.github.com/repos/actions/docker/tarball/master'. Error Response status code does not indicate success: 404 (Not Found).
Does anyone know the new location?
The
actions/docker
action has now been deprecated. The repository was archived with the following message before being deleted entirely.So the recommended way to use Docker is to use the
run
script command. The official starter workflow shows a simple example to build an image. https://github.com/actions/starter-workflows/blob/master/ci/docker-image.ymlFor more complete examples of Docker image publishing see the following workflows.
For the public DockerHub registry:
For a private registry, such as the new GitHub Package Registry, you also need to specify the hostname when logging in and tag the image appropriately: