Skip to content

Merge pull request #88 from flagship-io/variation_name #140

Merge pull request #88 from flagship-io/variation_name

Merge pull request #88 from flagship-io/variation_name #140

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: deploy-qa
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main,feature/getFlag]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
deploy_deno_qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2.3.0
with:
push: true
tags: ghcr.io/${{ github.repository }}:deno-qa-v2
context: .
file: ./deno-qa/Dockerfile
deploy_node_qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2.3.0
with:
push: true
tags: ghcr.io/${{ github.repository }}:node-qa-v3
context: .
file: ./node-qa/Dockerfile