File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 23
23
24
24
# Steps represent a sequence of tasks that will be executed as part of the job
25
25
steps :
26
+ - name : Checkout
27
+ uses : actions/checkout@v2
28
+ - name : Docker meta
29
+ id : meta
30
+ uses : crazy-max/ghaction-docker-meta@v2.3.0
31
+ with :
32
+ images : tillsteinbach/prosafe_exporter_python
33
+ tags : |
34
+ type=edge,
35
+ type=semver,pattern={{version}}
26
36
- name : Set up QEMU
27
37
uses : docker/setup-qemu-action@v1
28
38
- name : Setup Docker Buildx
36
46
id : docker_build
37
47
uses : docker/build-push-action@v2
38
48
with :
39
- push : true
49
+ push : ${{ github.event_name != 'pull_request' }}
40
50
platforms : linux/amd64,linux/arm/v7,linux/arm64
41
- tags : tillsteinbach/prosafe_exporter_python:latest
42
- cache-from : type=registry,ref=tillsteinbach/prosafe_exporter_python:latest
43
- cache-to : type=inline
51
+ tags : ${{ steps.meta.outputs.tags }}
52
+ labels : ${{ steps.meta.outputs.labels }}
53
+ cache-from : type=local,src=/tmp/.buildx-cache
54
+ cache-to : type=local,dest=/tmp/.buildx-cache
You can’t perform that action at this time.
0 commit comments