Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Merge pull request #328 from Support-pl/dependabot/github_actions/act… #209

Merge pull request #328 from Support-pl/dependabot/github_actions/act…

Merge pull request #328 from Support-pl/dependabot/github_actions/act… #209

Workflow file for this run

name: Create and publish a Docker images
on:
push:
branches: [master]
release:
types: [published, edited]
env:
REGISTRY: ghcr.io
jobs:
ione:
runs-on: ubuntu-latest
environment: ione
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
tags: type=raw,value=latest
images: ${{ env.REGISTRY }}/support-pl/ione
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
ione-admin:
runs-on: ubuntu-latest
environment: ione-admin
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
tags: type=raw,value=latest
images: ${{ env.REGISTRY }}/support-pl/ione-admin
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: ui
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}