From 25d1c8a60439f9afaf03f1879116c2701ca0f12d Mon Sep 17 00:00:00 2001 From: "Henrique F. Simoes" Date: Mon, 4 Mar 2024 15:03:46 -0300 Subject: [PATCH] ci: use epics-in-docker IOC build workflow. The workflow is configured to use Git tags to push tagged images to the registry. --- .github/workflows/build.yml | 13 +++++++++++++ docker-compose.yml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c0567ff --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,13 @@ +name: Build image +on: + push: + tags: + - 'v*' + pull_request: + +jobs: + build_and_push: + permissions: + packages: write + contents: read + uses: cnpem/epics-in-docker/.github/workflows/ioc-images.yml@main diff --git a/docker-compose.yml b/docker-compose.yml index 4d87327..cd6474b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: ioc: - image: ghcr.io/cnpem/ad-aravis-epics-ioc + image: ghcr.io/cnpem/ad-aravis-epics-ioc:${TAG} build: context: ./ dockerfile: docker/Dockerfile