-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (35 loc) · 966 Bytes
/
release.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: Release
"on":
release:
types:
- created
jobs:
release:
runs-on: ubuntu-latest
name: Release
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Build image
run: |
tox -e podman -- ${{ github.event.release.tag_name }}
- name: Debug image storage
run: |
echo "Docker Images:"
docker images
echo "Podman Images:"
podman images
- name: Push swagger
uses: redhat-actions/push-to-registry@v2
with:
image: swagger
tags: ${{ github.event.release.tag_name }} latest
registry: quay.io/purestorage/
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}