Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,24 @@ jobs:
run: |
python -m pip install build
python -m build --wheel --outdir dist release
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Image tags
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ github.repository_owner }}/reqstorm
tags: |
type=semver,pattern={{version}},value=${{ env.TAG }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.TAG }}
type=raw,value=latest
- name: Build and test (amd64)
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
load: true
Expand All @@ -65,7 +65,7 @@ jobs:
docker run --rm reqstorm:test --version | grep "${TAG#v}"
echo "http://127.0.0.1:9/" | docker run --rm -i reqstorm:test -q --timeout 2 || test $? -eq 1
- name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
ls dist/*-${{ steps.target.outputs.version }}-py3-none-any.whl > /dev/null || {
echo "::error::tag ${GITHUB_REF_NAME} does not match the version of the built package"; ls dist; exit 1; }
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: dist
path: dist/
Expand All @@ -50,7 +50,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v7
- uses: actions/download-artifact@v8
with:
name: dist
path: dist/
Expand Down
Loading