Skip to content

hms webapp image tag change #55

hms webapp image tag change

hms webapp image tag change #55

Workflow file for this run

name: Create and publish a Docker image
on: push
env:
REGISTRY: ghcr.io
NGINX_IMAGE: quanted/qed-nginx
jobs:
build-nginx-ceam:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.NGINX_IMAGE }}
tags: |
type=raw,value=ceam
- name: Build and push Cyanweb Nginx Docker image
uses: docker/build-push-action@v2
with:
context: .
build-args: config=nginx_ceamdev.conf
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-nginx-epa:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.NGINX_IMAGE }}
tags: |
type=raw,value=epa
- name: Build and push Cyanweb Nginx Docker image
uses: docker/build-push-action@v2
with:
context: .
build-args: config=nginx_epa_aws_ssl.conf
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}