Skip to content

Commit

Permalink
Update cloudbuild-dev.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
juskalalie authored Feb 25, 2025
1 parent 5f7fbd7 commit 728f8f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hassio-google-drive-backup/cloudbuild-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# How to use:
# cd hassio-google-drive-backup
# gcloud config set project hassio-drive-backup
# cd hassio-filenio-backup
# gcloud config set project hassio-filenio
# gcloud builds submit --config cloudbuild-dev.yaml --substitutions _DOCKERHUB_PASSWORD=<PASSWORD>

steps:
- name: "gcr.io/cloud-builders/docker"
entrypoint: "bash"
args: ["-c", "docker login --username=sabeechen --password=${_DOCKERHUB_PASSWORD}"]
args: ["-c", "docker login --username=juskalalie --password=${_DOCKERHUB_PASSWORD}"]
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-f', 'Dockerfile-addon', '-t', 'sabeechen/hassio-google-drive-backup-dev-amd64:${_VERSION}', "--build-arg", "BUILD_FROM=homeassistant/amd64-base", '.' ]
args: [ 'build', '-f', 'Dockerfile-addon', '-t', 'juskalalie/hassio-filenio-backup-dev-amd64:${_VERSION}', "--build-arg", "BUILD_FROM=homeassistant/amd64-base", '.' ]
substitutions:
_DOCKERHUB_PASSWORD: "define me" # default value
_VERSION: "dev-testing" # default value
images:
- "sabeechen/hassio-google-drive-backup-dev-amd64:${_VERSION}"

- "juskalalie/hassio-filenio-backup-dev-amd64:${_VERSION}"

0 comments on commit 728f8f2

Please sign in to comment.