Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
f11h authored Sep 2, 2021
2 parents db5585e + d81fd07 commit c55a0e3
Show file tree
Hide file tree
Showing 36 changed files with 1,011 additions and 211 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: ci-main
on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -48,9 +49,23 @@ jobs:
--password-stdin
docker build . \
--file ./Dockerfile \
--tag "${APP_PACKAGES_URL}:${APP_VERSION}"
--tag "${APP_PACKAGES_URL}:${APP_VERSION}" \
--tag "${TRUSTED_URL}/${TRUSTED_REPOSITORY}/cwa-dcc-rules:${APP_VERSION}"
docker push "${APP_PACKAGES_URL}:${APP_VERSION}"
env:
APP_PACKAGES_URL: docker.pkg.github.com/${{ github.repository }}/dgca-businessrule-service
APP_PACKAGES_USERNAME: ${{ github.actor }}
APP_PACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
TRUSTED_URL: ${{ secrets.TRUSTED_URL }}
TRUSTED_REPOSITORY: ${{ secrets.TRUSTED_REPOSITORY }}
- name: docker push trusted
run: |
echo ${TRUSTED_TOKEN} | docker login ${TRUSTED_URL} -u ${TRUSTED_USER} --password-stdin
docker push ${TRUSTED_URL}/${TRUSTED_REPOSITORY}/cwa-dcc-rules:${APP_VERSION}
env:
TRUSTED_KEY: ${{ secrets.TRUSTED_KEY }}
TRUSTED_URL: ${{ secrets.TRUSTED_URL }}
TRUSTED_SERVER_URL: ${{ secrets.TRUSTED_SERVER_URL }}
TRUSTED_REPOSITORY: ${{ secrets.TRUSTED_REPOSITORY }}
TRUSTED_USER: ${{ secrets.TRUSTED_USER }}
TRUSTED_TOKEN: ${{ secrets.TRUSTED_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: ci-release
on:
workflow_dispatch:
release:
types:
- created
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/ci-sonar.yml

This file was deleted.

Loading

0 comments on commit c55a0e3

Please sign in to comment.