chore(master): release 3.3.0-rc.1 (#1389) #174
Workflow file for this run
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 tag | |
# Actions for any tag. | |
# ----------------- | |
# Control variables (GitHub Secrets) | |
# ----------------- | |
# | |
# At the GitHub 'organisation' or 'project' level you must have the following | |
# GitHub 'Secrets' defined (i.e. via 'Settings -> Secrets'): - | |
# | |
# DOCKERHUB_USERNAME | |
# DOCKERHUB_TOKEN | |
# | |
# ----------- | |
# Environment (GitHub Environments) | |
# ----------- | |
# | |
# Environment (n/a) | |
on: | |
push: | |
tags: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Inject slug/short variables | |
uses: rlespinasse/github-slug-action@v4 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
build-args: | | |
GIT_SHA=${{ github.sha }} | |
SKIP_CHECKS=1 | |
BASE_PATH=/data-manager-ui | |
push: true | |
tags: informaticsmatters/squonk2-data-manager-ui:${{ env.GITHUB_REF_SLUG }} | |
trigger-awx: | |
needs: build | |
runs-on: ubuntu-latest | |
environment: awx/dls-dev | |
steps: | |
- name: Inject slug/short variables | |
uses: rlespinasse/github-slug-action@v4 | |
- name: Trigger AWX | |
uses: informaticsmatters/trigger-awx-action@v1 | |
with: | |
template: Squonk/2 Data Manager UI -test- | |
template-host: ${{ secrets.AWX_HOST }} | |
template-user: ${{ secrets.AWX_USER }} | |
template-user-password: ${{ secrets.AWX_USER_PASSWORD }} | |
template-var: maui_image_tag | |
template-var-value: ${{ env.GITHUB_REF_SLUG }} |