-
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (36 loc) · 907 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
39
40
41
42
43
44
45
name: "Docker Automation"
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
docker_push:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
steps:
- uses: earthly/actions-setup@v1
with:
version: v0.8.0
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: cypherkitty
password: ${{ secrets.META_SECRET_GH_PAT }}
- name: run tests
run: |
earthly \
--allow-privileged \
--ci \
--remote-cache=ghcr.io/meta-secret/core:cache \
--push \
./meta-secret+build-meta-server-image