mirror of
https://github.com/wiiu-env/libmappedmemory.git
synced 2024-11-14 14:05:09 +01:00
Fix workflow for pushing the docker image
This commit is contained in:
parent
49f35305a9
commit
2c9030153a
6
.github/workflows/push_image.yml
vendored
6
.github/workflows/push_image.yml
vendored
@ -11,9 +11,9 @@ jobs:
|
|||||||
- name: Get release version
|
- name: Get release version
|
||||||
id: get_release_tag
|
id: get_release_tag
|
||||||
run: |
|
run: |
|
||||||
echo ::set-env name=RELEASE_VERSION::$(echo $(date '+%Y%m%d'))
|
echo RELEASE_VERSION=$(echo $(date '+%Y%m%d')) >> $GITHUB_ENV
|
||||||
echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//" | tr '[:upper:]' '[:lower:]')
|
echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//" | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
echo ::set-env name=REPOSITORY_OWNER::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}' | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]')
|
echo REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}' | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
- name: Publish to Registry
|
- name: Publish to Registry
|
||||||
uses: elgohr/Publish-Docker-Github-Action@master
|
uses: elgohr/Publish-Docker-Github-Action@master
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user