Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images: add OPCUA image. #61

Merged
merged 3 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/included-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build included image
on:
workflow_run:
workflows: ["Base image build"]
tags:
- 'v*'
types:
- completed

jobs:
build_and_push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
env:
REGISTRY: ghcr.io/${{ github.repository_owner }}
TAG: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push tagged image
uses: docker/bake-action@v4
with:
workdir: images/
files: docker-compose-opcua.yml
push: true
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

## Unreleased

A new container image, `ghcr.io/cnpem/opcua-epics-ioc`, is now available.

### New features

* base: add OPCUA and `ether_ip` IOCs and modules. by @guirodrigueslima in
https://github.com/cnpem/epics-in-docker/pull/57
* images: add OPCUA image. by @ericonr in
https://github.com/cnpem/epics-in-docker/pull/61

## v0.7.0

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ registry](https://github.com/cnpem/epics-in-docker/pkgs/container/lnls-debian-11

The versions used in the base image are defined in `base/.env`.

## Included IOC images

Some IOC images are provided by this repository directly, and can be used
without any build step.

- OPCUA IOC: `ghcr.io/cnpem/opcua-epics-ioc`

## IOC images

IOC repositories should include this repository as a submodule in their root,
Expand Down
13 changes: 13 additions & 0 deletions images/docker-compose-opcua.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
ioc:
image: ghcr.io/cnpem/opcua-epics-ioc
build:
context: ./
dockerfile: ../Dockerfile
target: no-build
labels:
org.opencontainers.image.source: https://github.com/cnpem/epics-in-docker
args:
REPONAME: opcua
RUNDIR: /opt/epics/modules/opcua/iocBoot/iocUaDemoServer
RUNTIME_PACKAGES: libxml2 libssl1.1