* Prepare: run E2E smoketests with GitHub actions (#23301) * Port E2E testing scripts from cypress-ui-automation * Move server to docker-compose, move E2E images to ecrpublic * Integrate General channel renaming, fixes * Add local automation-dashboard Add readme * Add E2E smoketests * Bump postgres to 12 * Fully rely on mattermostdevelopment images --------- Co-authored-by: Mattermost Build <build@mattermost.com> Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com> Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
25 строки
679 B
YAML
25 строки
679 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: 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
|