mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 03:25:42 +00:00
Adjust docker labels to modern OCI schema (#7773)
* adapt namespace * add new labels * make baseimage available for labels * remove unneeded ending * ensure image name is correct for ghcrio * ensure the right outputs are used * fix reference * fix assigment * only push docker reg image if authd * swith back to env this gets provided by the version ci script * make repo targets changeable * make readable * revert ghcr.io change
This commit is contained in:
4
.github/workflows/docker.yaml
vendored
4
.github/workflows/docker.yaml
vendored
@ -135,9 +135,9 @@ jobs:
|
||||
id: docker_login
|
||||
run: |
|
||||
if [ -z "${{ secrets.DOCKER_USERNAME }}" ]; then
|
||||
echo "skip_dockerhub_login=true" >> $GITHUB_ENV
|
||||
echo "skip_dockerhub_login=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "skip_dockerhub_login=false" >> $GITHUB_ENV
|
||||
echo "skip_dockerhub_login=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
- name: Login to Dockerhub
|
||||
if: github.event_name != 'pull_request' && steps.docker_login.outputs.skip_dockerhub_login != 'true'
|
||||
|
Reference in New Issue
Block a user