Compare commits

...
2 Commits
Author SHA1 Message Date
ari c830f35ee4 correct version 2022-05-15 16:45:08 -04:00
ari 7ac92fb98e neater job names in actions 2022-05-15 16:42:43 -04:00
2 changed files with 7 additions and 3 deletions

No files matched your search

+6 -2
View File
@@ -15,6 +15,10 @@ jobs:
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v3 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 - name: Login to DockerHub
uses: docker/login-action@v2.0.0 uses: docker/login-action@v2.0.0
@@ -22,10 +26,10 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: ${{ steps.get_version.outputs.VERSION }} / ${{ matrix.arch }}
- name: Publish
uses: home-assistant/builder@2022.03.1 uses: home-assistant/builder@2022.03.1
with: with:
args: | args: |
--version ${{ steps.get_version.outputs.VERSION }} \
--${{ matrix.arch }} \ --${{ matrix.arch }} \
--target . --target .
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish - name: ${{ matrix.arch }}
uses: home-assistant/builder@2022.03.1 uses: home-assistant/builder@2022.03.1
with: with:
args: | args: |