mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Bump base image to Ubuntu 24 * Fix Noble dependencies * Fix docker image build --------- Co-authored-by: Mattermost Build <build@mattermost.com>
28 lines
851 B
YAML
28 lines
851 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
|
|
if: github.repository_owner == 'mattermost'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout mattermost project
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
- name: cd/Login to Docker Hub
|
|
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.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
|