-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (36 loc) · 1.16 KB
/
powa-web.yml
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
33
34
35
36
37
38
39
40
41
42
name: Publish powa-web container images
on:
push:
branches: [master]
workflow_dispatch:
repository_dispatch:
types: [powa-web]
env:
ORG: "powateam"
REGISTRY: "index.docker.io"
jobs:
build_and_push:
name: Build powa-web container images and push to Docker hub
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build all images
run: |
# We rely on the makefile and underlying scripts to build the images,
# as they have all the knowledge about the supported pg major
# versions and automatic detection of the latest releases of each
# component.
# Note that it primarily rely on podman, so alias it to docker.
alias podman=docker
CONTAINER_PUSH=1 CONTAINER_PUSH_YES=1 make powa-web