Skip to content

Commit 182e502

Browse files
committed
Final fixups for the publish workflow
1 parent e71980f commit 182e502

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,10 @@ permissions:
77
on:
88
release:
99
types: [released]
10-
push:
11-
tags:
12-
- "*"
13-
branches:
14-
- "*"
1510

1611
jobs:
1712
build-image:
1813
runs-on: ubuntu-latest
19-
needs: tags-cleanup
2014
strategy:
2115
fail-fast: false
2216
max-parallel: 4
@@ -83,6 +77,7 @@ jobs:
8377
run: docker manifest inspect docker.io/botsudo/docker-rustpython:latest
8478
tags-cleanup:
8579
runs-on: ubuntu-latest
80+
needs: create-final-image
8681
name: Cleanup build tags
8782
steps:
8883
- name: Install Docker hub-tool
@@ -114,5 +109,7 @@ jobs:
114109
./hub-tool tag rm --verbose --force docker.io/botsudo/docker-rustpython:386-latest || true
115110
./hub-tool tag rm --verbose --force docker.io/botsudo/docker-rustpython:ppc64le-latest || true
116111
./hub-tool tag rm --verbose --force docker.io/botsudo/docker-rustpython:amd64-latest || true
112+
./hub-tool tag ls --verbose docker.io/botsudo/docker-rustpython
117113
- name: Logout hub-tool
114+
if: always()
118115
run: rm ~/.docker/config.json

0 commit comments

Comments
 (0)