Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmesterh committed Sep 4, 2024
1 parent bf88238 commit 29739d1
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ jobs:
name: ${{ github.ref_name }}
concurrency: ${{ github.ref_name }}

env:
REGISTRY: ${{ vars.REGISTRY }}
IMAGE: ${{ secrets.REPOSITORY }}/mirc-ctp

permissions:
contents: 'read'
id-token: 'write'
Expand All @@ -38,7 +34,7 @@ jobs:
- name: Configure docker for Google artifact registry
id: docker
run: |
gcloud auth configure-docker ${{ env.REGISTRY }}
gcloud auth configure-docker ${{ vars.REGISTRY }}
branch=${GITHUB_REF##*/}
ts=$(date +%Y%m%d%H%M%S)
echo "BUILD_ID=${branch}-${ts}" >> $GITHUB_OUTPUT
Expand All @@ -64,7 +60,7 @@ jobs:
cache-to: type=gha,mode=max
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.docker.outputs.BUILD_ID }}
${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ github.sha }}
${{ env.REGISTRY }}/${{ env.IMAGE }}:${{ steps.docker.outputs.BRANCH_NAME }}
${{ env.REGISTRY }}/${{ env.IMAGE }}:latest
${{ env.REGISTRY }}/${{ secrets.REPOSITORY }}/mirc-ctp:${{ steps.docker.outputs.BUILD_ID }}
${{ env.REGISTRY }}/${{ secrets.REPOSITORY }}/mirc-ctp:${{ github.sha }}
${{ env.REGISTRY }}/${{ secrets.REPOSITORY }}/mirc-ctp:${{ steps.docker.outputs.BRANCH_NAME }}
${{ env.REGISTRY }}/${{ secrets.REPOSITORY }}/mirc-ctp:latest

0 comments on commit 29739d1

Please sign in to comment.