-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove spaces from image name #948
Conversation
Ops! Sorry. I have forgotten to resolve that one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that by approaching the problem in this manner, the issue with spaces can be resolved.
-moab_${{ inputs.moab_version }} | ||
-geant4_${{ inputs.geant4_version }} | ||
-double_down_${{ inputs.double_down_version }} | ||
ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ inputs.ubuntu_version }}-${{ inputs.compiler}}-hdf5_${{ inputs.hdf5_version}}-moab_${{ inputs.moab_version }}-geant4_${{ inputs.geant4_version }}-double_down_${{ inputs.double_down_version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ inputs.ubuntu_version }}-${{ inputs.compiler}}-hdf5_${{ inputs.hdf5_version}}-moab_${{ inputs.moab_version }}-geant4_${{ inputs.geant4_version }}-double_down_${{ inputs.double_down_version }} | |
ghcr.io/${{ github.repository_owner | |
}}/dagmc-ci-ubuntu-${{ inputs.ubuntu_version | |
}}-${{ inputs.compiler | |
}}-hdf5_${{ inputs.hdf5_version | |
}}-moab_${{ inputs.moab_version | |
}}-geant4_${{ inputs.geant4_version | |
}}-double_down_${{ inputs.double_down_version | |
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, we need to give this a test run, don't know if the action actually works in this way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, I think we may proceed with the following code that we already used in our docker_publish.yml
:
- name: Configure docker image tag
run: |
image_base_tag=ghcr.io/${{ github.repository_owner }}/
image_base_tag+=dagmc-ci-ubuntu-${{ matrix.ubuntu_version }}
image_base_tag+=-${{ matrix.compiler}}
image_base_tag+=-hdf5_${{ matrix.hdf5_version}}
image_base_tag+=-moab_${{ matrix.moab_version }}
image_base_tag+=-geant4_${{ matrix.geant4_version }}
image_base_tag+=-double_down_${{ matrix.double_down_version }}
echo "image_base_tag=${image_base_tag}" >> "$GITHUB_ENV"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you make a PR with this update, I'll withdraw mine and review yours.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR #949 fixed the incorrect and introduced illegal spaces in the action.yml
file.
Description
Removes extra spaces from the image used for advisory testing
Motivation and Context
Reformatting of GitHub action was incorrect and introduced illegal spaces.