4 Commits
Author SHA1 Message Date
Dustin Pianalto 329afdbe81 Merge branch 'main' of github.com:dustinpianalto/snowflake
CI / build (push) Has been cancelled
2021-09-29 21:43:38 -08:00
Dustin Pianalto 13501567c0 Add image secret 2021-09-29 21:42:49 -08:00
Dusty.P ed626a2dad Update main.yml
CI / build (push) Has been cancelled
2021-09-29 20:53:04 -08:00
Dusty.P 761814ec62 Update main.yml
CI / build (push) Has been cancelled
2021-09-29 20:38:40 -08:00
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -26,6 +26,7 @@ jobs:
# uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v1.10.0
with:
registry: ${{ secrets.DR_URL }}
# Username used to log against the Docker registry
username: ${{ secrets.DH_USERNAME }}
# Password or personal access token used to log against the Docker registry
@@ -38,7 +39,7 @@ jobs:
IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }}
run: |
docker build -t ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG .
docker push &{{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG
docker push ${{ secrets.DR_URL }}/snowflake-server:$IMAGE_TAG
sed -i 's|<IMAGE>|${{ secrets.DR_URL }}/snowflake-server:'${IMAGE_TAG}'|' $GITHUB_WORKSPACE/deployment.yml
- name: Kubernetes set context
+2
View File
@@ -55,3 +55,5 @@ spec:
secretKeyRef:
name: snowflake
key: worker_id
imagePullSecrets:
- name: regcred