Files
mattermost/.github/workflows/docker-push-mirrored.yml
mvitale1989 b8858c4582 CLD-5835 - Do not use the mattermost-build-webapp image from ECR (#23748)
* Only use mattermostdevelopment images
* Fix docker mirroring workflow
* Reenable insights feature for E2E tests
2023-06-15 08:43:39 +02:00

27 lines
802 B
YAML

---
name: Push mirrored docker images
on:
push:
branches:
- master
paths:
- server/scripts/mirror-docker-images.*
jobs:
build-docker:
name: cd/Push mirrored docker images
runs-on: ubuntu-22.04
steps:
- name: Checkout mattermost project
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: cd/Login to Docker Hub
uses: docker/login-action@3da7dc6e2b31f99ef2cb9fb4c50fb0971e0d0139 # v2.1.0
with:
username: ${{ secrets.DOCKERHUB_DEV_USERNAME }}
password: ${{ secrets.DOCKERHUB_DEV_TOKEN }}
- name: cd/Run image upload script
env:
IMAGES_FILE: server/scripts/mirror-docker-images.json
DRY_RUN: no
run: ./server/scripts/mirror-docker-images.sh