correct version
This commit is contained in:
1 parent
7ac92fb98e
commit
c830f35ee4
1 file changed
+6
-2
@@ -15,6 +15,10 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)-g$(echo ${{ github.sha }} | cut -c1-5 )
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2.0.0
|
||||
@@ -22,10 +26,10 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
|
||||
- name: ${{ matrix.arch }}
|
||||
- name: ${{ steps.get_version.outputs.VERSION }} / ${{ matrix.arch }}
|
||||
uses: home-assistant/builder@2022.03.1
|
||||
with:
|
||||
args: |
|
||||
--version ${{ steps.get_version.outputs.VERSION }} \
|
||||
--${{ matrix.arch }} \
|
||||
--target .
|
||||
Reference in new issue
Block a user