forked from Ehco1996/ehco
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.3 KB
/
tag.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: tag
on:
push:
tags:
- "*"
jobs:
build-tag-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build x86 image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ehco1996/ehco
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true
dockerfile: build/Dockerfile
- uses: actions/checkout@master
- name: Build arm image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: ehco1996/ehco
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true
dockerfile: build/arm.Dockerfile
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
# GitHub token, required, not the default one
token: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
# Formula name, required
formula: ehco
# Optional, will be determined automatically
tag: ${{github.ref}}
# Optional, will be determined automatically
revision: ${{github.sha}}
# Optional, if don't want to check for already open PRs
force: true