diff --git a/.github/workflows/ci-branch.yaml b/.github/workflows/ci-branch.yaml index 0b33fa84..ce622134 100644 --- a/.github/workflows/ci-branch.yaml +++ b/.github/workflows/ci-branch.yaml @@ -4,7 +4,7 @@ on: push: branches: - '!1.0.x' - - '**' + - 'ci-refactor' # paths: ['src/**'] env: @@ -38,18 +38,6 @@ jobs: distribution: temurin java-version: 11 - - name: Cache sbt - uses: actions/cache@v2 - with: - path: | - ~/.sbt - ~/.ivy2/cache - ~/.coursier/cache/v1 - ~/.cache/coursier/v1 - ~/AppData/Local/Coursier/Cache/v1 - ~/Library/Caches/Coursier/v1 - key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - - name: Install node 16 uses: actions/setup-node@v3 with: @@ -91,11 +79,5 @@ jobs: file: ./target/docker/stage/Dockerfile push: true tags: | - ${{ steps.login-ecr.outputs.registry }}/${{ env.NORM_REPO }}:${{ github.ref_name }} + ${{ steps.login-ecr.outputs.registry }}/${{ env.NORM_REPO }}:${{ github.ref_name }}-latest ${{ steps.login-ecr.outputs.registry }}/${{ env.NORM_REPO }}:commit-${{ github.sha }} - - # - name: Build, tag, and push image to Amazon ECR - # env: - # ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - # COMMIT_SHA: ${{ github.sha }} - # run: 'sbt ++${{ matrix.scala }} docker:publish'