Skip to content

cd into directory prior to Docker step #25877

Answered by oldskool
Happy-Ferret asked this question in Actions
Discussion options

You must be logged in to vote

Please note that the actions/docker runner has been deprecated in favor of the run command. Since Docker is pre-installed in the virtual environment, you should be able to simply do something like:

steps:
- name: Build Docker image
    run: |
      cd WebApplication1Core
      docker build -t docker.pkg.github.com/happy-ferret/ci-test-mr/webapplication1core:latest .

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants