forked from private-attribution/ipa
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (33 loc) · 915 Bytes
/
docker.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
name: Publish Helper Image CI
on:
workflow_dispatch:
push:
paths:
- "docker/ci/**"
- ".github/workflows/docker.yml"
- "Cargo.toml"
schedule:
# Once monthly at a randomly selected time.
- cron: "24 2 3,18 * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Setup Docker Buildx"
uses: docker/setup-buildx-action@v2
- name: "Login to GitHub Container Registry"
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: "Build and Publish Helper Image"
uses: docker/build-push-action@v4
with:
context: .
file: ./docker/ci/helper.Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}/ipa-helper:latest
platforms: linux/amd64