-
Notifications
You must be signed in to change notification settings - Fork 17
32 lines (27 loc) · 1020 Bytes
/
build-containers.yml
File metadata and controls
32 lines (27 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Deploy containers
on:
workflow_call:
jobs:
deploy-containers:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
- name: Login to GitHub Container Registry
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push pyomp container
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
with:
platforms: linux/amd64,linux/arm64
file: buildscripts/containers/Dockerfile
push: true
provenance: false
tags: |
ghcr.io/python-for-hpc/pyomp:latest
ghcr.io/python-for-hpc/pyomp:${{ github.event.release.tag_name }}