Compare commits

..

1 Commits

Author SHA1 Message Date
Gautham Varma K 5514b1bb3d 🚧 Fix Deploy Script 2023-02-19 14:15:42 +05:30
+6 -6
View File
@@ -117,14 +117,14 @@ jobs:
load: true load: true
# yamllint disable rule:line-length # yamllint disable rule:line-length
tags: | tags: |
ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }} ghcr.io/gauthamvarmak/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}
ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }} ghcr.io/gauthamvarmak/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }}
# yamllint enable rule:line-length # yamllint enable rule:line-length
context: ${{ needs.information.outputs.target }} context: ${{ needs.information.outputs.target }}
file: ${{ needs.information.outputs.target }}/Dockerfile file: ${{ needs.information.outputs.target }}/Dockerfile
cache-from: | cache-from: |
type=local,src=/tmp/.docker-cache type=local,src=/tmp/.docker-cache
ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:edge ghcr.io/gauthamvarmak/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:edge
cache-to: type=local,mode=max,dest=/tmp/.docker-cache-new cache-to: type=local,mode=max,dest=/tmp/.docker-cache-new
platforms: ${{ steps.flags.outputs.platform }} platforms: ${{ steps.flags.outputs.platform }}
build-args: | build-args: |
@@ -148,9 +148,9 @@ jobs:
# yamllint disable rule:line-length # yamllint disable rule:line-length
run: | run: |
docker push \ docker push \
"ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}" "ghcr.io/gauthamvarmak/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.environment }}"
docker push \ docker push \
"ghcr.io/${{ github.repository_owner }}/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }}" "ghcr.io/gauthamvarmak/${{ needs.information.outputs.slug }}/${{ matrix.architecture }}:${{ needs.information.outputs.version }}"
publish-stable: publish-stable:
name: 📢 Publish to stable repository name: 📢 Publish to stable repository
@@ -166,7 +166,7 @@ jobs:
uses: peter-evans/repository-dispatch@v2.1.1 uses: peter-evans/repository-dispatch@v2.1.1
with: with:
token: ${{ secrets.DISPATCH_TOKEN }} token: ${{ secrets.DISPATCH_TOKEN }}
repository: ghcr.io/${{ github.repository_owner }}/hassio-addons repository: ${{ github.repository_owner }}/hassio-addons
event-type: update event-type: update
client-payload: > client-payload: >
{ {