Merge pull request #350 from UN-OCHA/OPS-11223-user_expire-update #460
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docker image | |
on: | |
push: | |
branches: | |
- develop | |
- feature/** | |
- main | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
id: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build The Thing | |
id: build-action | |
uses: UN-OCHA/actions/drupal-docker-build@main | |
with: | |
aws_access_key_id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
docker_registry_url: public.ecr.aws | |
docker_registry_path: /unocha/ | |
docker_image: slt-site | |
docker_username: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} | |
docker_password: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} | |
ecr_github_token: ${{ secrets.ECR_GITHUB_TOKEN }} | |
ecr_jenkins_token: ${{ secrets.JENKINS_ECR_TOKEN }} | |
flowdock_token: ${{ secrets.FLOWDOCK_TOKEN }} | |
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
slack_channel_name: ${{ secrets.SLACK_CHANNEL }} |