build: Bash
This commit is contained in:
parent
873e59cdb7
commit
96a136e3db
1 changed files with 8 additions and 7 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -55,6 +55,7 @@ jobs:
|
||||||
name: Build Docker image
|
name: Build Docker image
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
DIRECTORY="."
|
DIRECTORY="."
|
||||||
PLATFORMS="linux/amd64,linux/arm64"
|
PLATFORMS="linux/amd64,linux/arm64"
|
||||||
|
@ -89,7 +90,7 @@ jobs:
|
||||||
$(printf '%s' "${LABELS[@]/#/ --annotation }" ) \
|
$(printf '%s' "${LABELS[@]/#/ --annotation }" ) \
|
||||||
$(printf '%s' "${TAGS[@]/#/ --tag }" ) "${DIRECTORY}"
|
$(printf '%s' "${TAGS[@]/#/ --tag }" ) "${DIRECTORY}"
|
||||||
|
|
||||||
rm -f ${HOME}/.docker/config.json
|
rm -f ${HOME}/.docker/config.json
|
||||||
-
|
-
|
||||||
name: Create a release
|
name: Create a release
|
||||||
uses: action-pack/github-release@v2
|
uses: action-pack/github-release@v2
|
||||||
|
|
Loading…
Reference in a new issue