Skip to content

Commit

Permalink
cd and CHANGELOG fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mpnowacki-reef committed Oct 29, 2023
1 parent 8c06f7e commit e46ece6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 36 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,38 +123,3 @@ jobs:
draft: ${{ env.ACTIONS_STEP_DEBUG == 'true' }}
prerelease: false
files: ${{ steps.sign.outputs.asset_path }}
deploy-docker:
needs: deploy
runs-on: ubuntu-latest
container:
image: "python:3.10" # can not use ${{ env.PYTHON_DEFAULT_VERSION }} here
env:
DEBIAN_FRONTEND: noninteractive
DOCKERHUB_USERNAME: secrets.DOCKERHUB_USERNAME
DOCKERHUB_TOKEN: secrets.DOCKERHUB_TOKEN
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: python -m pip install --upgrade nox pip setuptools
- name: Build Dockerfile
id: build-dockerfile
run: nox -vs docker
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
if: ${{ env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_TOKEN != '' }} # TODO: skip whole job without marking it as an error
uses: docker/login-action@v2
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ env.DOCKERHUB_TOKEN }}
- name: Build and push
if: ${{ env.DOCKERHUB_USERNAME != '' && env.DOCKERHUB_TOKEN != '' }} # TODO: skip whole job without marking it as an error
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: backblaze/b2:${{ steps.build.outputs.version }}
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [3.12.0] - 2023-10-28

### Added
* docker tests and pushing the official docker image on release

### Fixed
* `--quiet` now will implicitly set `--noProgress` option as well
* pypy integration tests
Expand Down Expand Up @@ -40,7 +43,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [3.10.0] - 2023-09-10

### Added
* docker tests and pushing the official docker image on release
* Add ability to upload from an unbound source such as standard input or a named pipe
* --bypassGovernance option to delete_file_version
* Declare official support of Python 3.12
Expand Down

0 comments on commit e46ece6

Please sign in to comment.