Triggers
pull_request workflow_dispatch
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| initialise | ubuntu-latest | 2 | actions/checkout@v3 docker/setup-buildx-action@v2 |
| build_only | ubuntu-latest | 1 | docker/build-push-action@v4 |
Raw YAML
name: PR
on:
pull_request:
branches: [ "main", "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
initialise:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
build_only:
needs: initialise
runs-on: ubuntu-latest
steps:
- name: Build docker image
uses: docker/build-push-action@v4
with:
push: false
tags: user/app:latest
Last fetched:
Triggers
release workflow_dispatch
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| build_and_publish | ubuntu-latest | 4 | actions/checkout@v3 docker/setup-buildx-action@v2 docker/login-action@v2 docker/build-push-action@v4 |
Raw YAML
name: release-CI
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Quay IO
uses: docker/login-action@v2
with:
registry: quay.io
username: '$oauthtoken'
password: ${{ secrets.QUAY_OAUTH_TOKEN }}
- name: Build docker image and push to quay.io
uses: docker/build-push-action@v4
with:
push: true
tags: quay.io/galaxy/coastal-source-jupyter-lab:${{ github.event.release.tag_name }}
Last fetched: