-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.33 KB
/
docker-image-PGadmin.yml
File metadata and controls
47 lines (43 loc) · 1.33 KB
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
43
44
45
46
47
name: Docker Image CI (PGadmin)
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout PGadmin
uses: actions/checkout@v4
with:
repository: navystack/PGadmin
path: PGadmin
- name: Set up SSH
uses: MrSquaare/ssh-setup-action@v3
with:
host: ${{ secrets.SSH_ARM64_RUNNER }}
private-key: ${{ secrets.SSH_PRIVATE_KEY_ARM64_RUNNER }}
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
with:
endpoint: ${{ secrets.AMD64_RUNNER_ENDPOINT }}
append: |
- endpoint: ${{ secrets.ARM64_RUNNER_ENDPOINT }}
platforms: linux/arm64
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./PGadmin/
file: ./PGadmin/debian.Dockerfile
push: true
tags: |
navystack/pgadmin:4v8
navystack/pgadmin:4v8.2
navystack/pgadmin:8
navystack/pgadmin:8.2
navystack/pgadmin:bookworm
navystack/pgadmin:latest
platforms: linux/amd64,linux/arm64