Skip to content

Changelog for v13.3 #37

Changelog for v13.3

Changelog for v13.3 #37

Workflow file for this run

name: docker
on:
push:
tags:
- v*
permissions: read-all
jobs:
build_and_push:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build & push docker images for ${{ github.event.ref }}
run: |
VERSION=$(python -m tcms)
make docker-image
docker tag kiwitcms/kiwi:latest quay.io/kiwitcms/version:$VERSION-$(uname -m)
echo "+++++ Docker images +++++"
docker images
echo "${{ secrets.DOCKER_PUSH_TOKEN }}" | docker login -u="${{ secrets.DOCKER_PUSH_USERNAME }}" --password-stdin
docker push kiwitcms/kiwi:latest
docker logout
echo "${{ secrets.QUAY_PUSH_TOKEN }}" | docker login -u="${{ secrets.QUAY_PUSH_USERNAME }}" --password-stdin quay.io
docker push quay.io/kiwitcms/kiwi:latest
docker push quay.io/kiwitcms/version:$VERSION-$(uname -m)
docker logout quay.io