diff --git a/.github/workflows/treetracker-wallet-api-build-deploy.yml b/.github/workflows/treetracker-wallet-api-build-deploy.yml index 2b657db4..7db53f3b 100644 --- a/.github/workflows/treetracker-wallet-api-build-deploy.yml +++ b/.github/workflows/treetracker-wallet-api-build-deploy.yml @@ -64,14 +64,6 @@ jobs: file: ./Dockerfile push: true tags: greenstand/treetracker-wallet-api:${{ steps.package-version.outputs.current-version }} - - name: Build snapshot and push on merge - id: docker_build_merge - uses: docker/build-push-action@v2 - with: - context: ./ - file: ./Dockerfile - push: true - tags: greenstand/treetracker-wallet-api:latest - shell: bash run: | echo '${{ steps.package-version.outputs.current-version }}' > image-tag diff --git a/deployment/treetracker-wallet-api-clusterrolebinding.yaml b/deployment/treetracker-wallet-api-clusterrolebinding.yaml index 7a4aa339..8e97b108 100644 --- a/deployment/treetracker-wallet-api-clusterrolebinding.yaml +++ b/deployment/treetracker-wallet-api-clusterrolebinding.yaml @@ -9,4 +9,4 @@ subjects: roleRef: kind: ClusterRole name: k8s-wait-for - apiGroup: rbac.authorization.k8s.io \ No newline at end of file + apiGroup: rbac.authorization.k8s.io diff --git a/deployment/treetracker-wallet-api-db-migration-job.yaml b/deployment/treetracker-wallet-api-db-migration-job.yaml index 1848b927..85410458 100644 --- a/deployment/treetracker-wallet-api-db-migration-job.yaml +++ b/deployment/treetracker-wallet-api-db-migration-job.yaml @@ -8,7 +8,7 @@ spec: spec: containers: - name: migration - image: greenstand/treetracker-wallet-api:latest + image: greenstand/treetracker-wallet-api:TAG env: - name: BASE_DATABASE_URL valueFrom: @@ -19,4 +19,4 @@ spec: value: "$(BASE_DATABASE_URL)&schema=wallets" command: ["node"] args: ["node_modules/db-migrate/bin/db-migrate", "up", "--migrations-dir", "database/migrations/", "-v"] - restartPolicy: Never \ No newline at end of file + restartPolicy: Never