File tree 2 files changed +2
-29
lines changed
2 files changed +2
-29
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ steps:
113
113
img build -t git.v0l.io/kieran/snort:${DRONE_TAG} \
114
114
--platform linux/amd64,linux/arm64 \
115
115
-f Dockerfile.prebuilt .
116
- - img push git.v0l.io/kieran/snort:latest
116
+ - img push git.v0l.io/kieran/snort:${DRONE_TAG}
117
117
volumes :
118
118
- name : cache
119
119
claim :
Original file line number Diff line number Diff line change 47
47
releaseName : ' Snort v__VERSION__'
48
48
releaseBody : ' See the assets to download and install this version.'
49
49
releaseDraft : true
50
- prerelease : false
51
- build_docker :
52
- runs-on : ubuntu-latest
53
- steps :
54
- - name : Set env variables
55
- run : echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
56
- - uses : actions/checkout@v2
57
- - uses : actions/cache@v2
58
- with :
59
- path : /tmp/.buildx-cache
60
- key : ${{ runner.os }}-buildx-${{ github.sha }}
61
- restore-keys : |
62
- ${{ runner.os }}-buildx-
63
- - uses : docker/login-action@v1
64
- with :
65
- registry : ghcr.io
66
- username : ${{ github.repository_owner }}
67
- password : ${{ secrets.GITHUB_TOKEN }}
68
- - uses : docker/setup-qemu-action@v2
69
- - uses : docker/setup-buildx-action@v2
70
- - name : Build the Docker image
71
- run : |
72
- docker buildx build \
73
- -t ghcr.io/${{ github.repository_owner }}/snort:$TAG \
74
- --cache-from "type=local,src=/tmp/.buildx-cache" \
75
- --cache-to "type=local,dest=/tmp/.buildx-cache" \
76
- --platform linux/amd64,linux/arm64 \
77
- --push .
50
+ prerelease : false
You can’t perform that action at this time.
0 commit comments