Skip to content

Update dependencies and remove vendor directory (#60) #102

Update dependencies and remove vendor directory (#60)

Update dependencies and remove vendor directory (#60) #102

Workflow file for this run

name: build-image
on:
push:
branches:
- master
tags:
- "*" # run for tags
jobs:
build-image:
name: build-image
runs-on: ubuntu-latest
steps:
- name: checkout-repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 0
- name: dockerhub-login
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: build-push-tag
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
with:
tags: mattermost/matterwick:${{ github.ref_name }}
push: ${{ startsWith(github.ref, 'refs/tags/') }}
- name: build-push-master
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
with:
tags: mattermost/matterwick:latest
push: ${{ startsWith(github.ref, 'refs/heads/master') }}