chore(deps): update alpine docker tag to v3.21.1 (#44) #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous build and release docker image | |
on: | |
push: | |
branches: | |
- master | |
- main | |
permissions: | |
contents: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
cache: 'pip' | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Install dependencies | |
run: pip install tests/ | |
- name: Run integration tests | |
run: pytest tests/ | |
main: | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
steps: | |
- uses: timo-reymann/docker-semantic-release-gh-action@v2 | |
with: | |
image: timoreymann/chrooted-ftp | |
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} | |
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
platforms: linux/amd64,linux/arm/v7,linux/arm64 |