Skip to content

Commit

Permalink
Deploy to sandbox with gitsha as tag
Browse files Browse the repository at this point in the history
  • Loading branch information
roypeter committed Sep 20, 2024
1 parent bdd507e commit 1ef3325
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
username: ${{ secrets.DOCKERHUB_SIMPLEDOTORG_USERNAME }}
password: ${{ secrets.DOCKERHUB_SIMPLEDOTORG_ACCESS_TOCKEN }}

# - name: Build and push
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile
# push: true
# tags: simpledotorg/rtsl_exporter:${{ github.sha }}, simpledotorg/rtsl_exporter:latest
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: simpledotorg/rtsl_exporter:${{ github.sha }}, simpledotorg/rtsl_exporter:latest

- uses: clowdhaus/argo-cd-action/@main
with:
Expand All @@ -36,4 +36,8 @@ jobs:
- uses: clowdhaus/argo-cd-action/@main
with:
version: 2.7.3
command: app list
command: app set rtsl-exporter --helm-set image.tag=${{ github.sha }}
- uses: clowdhaus/argo-cd-action/@main
with:
version: 2.7.3
command: app wait rtsl-exporter --timeout 600

0 comments on commit 1ef3325

Please sign in to comment.