mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Only use mattermostdevelopment images * Fix docker mirroring workflow * Reenable insights feature for E2E tests
27 lines
802 B
YAML
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
|