correct version

This commit is contained in:
ari committed 2022-05-15 16:45:08 -04:00
1 parent 7ac92fb98e
commit c830f35ee4
1 file changed
+6 -2
+6 -2
View File
@@ -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 .