Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
jhgdike committed Aug 26, 2024
1 parent b6c33f4 commit d500d5b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/cicd-qa.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: cicd
name: Docker Image CI

on:
pull_request:
branches:
- develop

jobs:
ci-pr:
uses: node-real/github-workflows/.github/workflows/ci-pr.yml@v1
secrets: inherit
with:
ci-lint-skip: true
ci-test-skip: true
build-platform: linux/amd64
image-repo-name: bsc
dockerfile: Dockerfile
build:
runs-on: [self-hosted,prod-cicd-runners]
steps:
- uses: actions/checkout@v2
- name: Build, tag, and push image to Amazon ECR
run: |
aws ecr get-login-password --region ${REGION} | docker login --username AWS --password-stdin ${ECR_REGISTRY_ID}.dkr.ecr.${REGION}.amazonaws.com
docker build --build-arg profile=prod --build-arg GIT_TOKEN=${{ secrets.GO_MODULES_TOKEN }} -t ${ECR_REGISTRY_ID}.dkr.ecr.${REGION}.amazonaws.com/bsc:${GITHUB_SHA} .
docker push "${ECR_REGISTRY_ID}.dkr.ecr.${REGION}.amazonaws.com/bsc:${GITHUB_SHA}"

0 comments on commit d500d5b

Please sign in to comment.