forked from fedimint/fedimint
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (60 loc) · 1.96 KB
/
extra-docker-images.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: extra-docker-images
on:
push:
branches:
- 'master'
- 'releases/v*'
tags:
- 'v*'
jobs:
docker:
if: github.repository == 'fedimint/fedimint'
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: fedimint
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Docker meta for mutinynet-bitcoind
id: meta-mutinynet-bitcoind
uses: docker/metadata-action@v5
with:
images: |
fedimint/mutinynet-bitcoind
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Build and push mutinynet-bitcoind
uses: docker/build-push-action@v6
with:
file: docker/latest/mutinynet-bitcoind-docker/Dockerfile
push: true
tags: ${{ steps.meta-mutinynet-bitcoind.outputs.tags }}
labels: ${{ steps.meta-mutinynet-bitcoind.outputs.labels }}
- name: Docker meta for xmpp-prosody-chat-server
id: meta-xmpp-prosody
uses: docker/metadata-action@v5
with:
images: |
fedimint/xmpp-prosody-chat-server
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha
- name: Build and push xmpp-prosody-chat-server
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:docker/latest/full-tls-mutinynet/prosody"
push: true
tags: ${{ steps.meta-xmpp-prosody.outputs.tags }}
labels: ${{ steps.meta-xmpp-prosody.outputs.labels }}