Bump word-wrap from 1.2.3 to 1.2.4 (#1921) #1163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Container | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- release23 | |
- release32 | |
jobs: | |
build: | |
name: Build Containers | |
if: github.repository == 'xibosignage/xibo-cms' | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
# Latest | |
- name: Build Latest | |
if: github.ref == 'refs/heads/master' | |
run: | | |
docker build . -t ghcr.io/xibosignage/xibo-cms:latest --build-arg GIT_COMMIT=${GITHUB_SHA} | |
- name: Push Latest | |
if: github.ref == 'refs/heads/master' | |
run: | | |
docker login ghcr.io --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} | |
docker push ghcr.io/xibosignage/xibo-cms:latest | |
# Release branch | |
- name: Build Branch | |
if: github.ref != 'refs/heads/master' | |
run: | | |
docker build . -t ghcr.io/xibosignage/xibo-cms:${GITHUB_REF##*/} --build-arg GIT_COMMIT=${GITHUB_SHA} | |
- name: Push Branch | |
if: github.ref != 'refs/heads/master' | |
run: | | |
docker login ghcr.io --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} | |
docker push ghcr.io/xibosignage/xibo-cms:${GITHUB_REF##*/} |