Correction needed in article - GitHub Actions/Creating actions/Create a Docker container action #43209
Unanswered
theonlyfaddy
asked this question in
GitHub Education
Replies: 2 comments
-
|
Best post that bug as an issue in the https://github.com/github/docs repository, so the team in charge of documentation sees it. 😉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Team,
There is an error in
URL : https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action#example-using-a-private-action
The code snippet highlighted below is not referring to the right tag created and there is a typo by missing out '@'. The example repo being referred to in the article is "hello-world-docker-action" and tag that was created was "v1"
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: A job to say hello
steps:
- name: Hello world action step
id: hello
uses: actions/hello-world-docker-actionv2
with:
who-to-greet: 'Mona the Octocat'
# Use the output from the
hellostep- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"
Beta Was this translation helpful? Give feedback.
All reactions