-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump version to v0.0.9-dev * Bump version to v0.0.9-dev * Update github-registry-install.md * Update workflow files * Update workflow files * Update workflow files * Update workflow files * Update workflow files * Add Attest Build Provenance action * Update workflow files * Added instructions for updating the bot's image to the inline action. * Update README.md * Fix import error * Fix ValueError * Update update_info.py * The return of support for publishing images on hub.docker.com * Refactoring code * The beginning of the transition to the terms of documentation according to the standard * Changing the architecture of handlers classes from abstract to inherited * Update deps * Fixed the import of the bot logger. * Refactoring loggers message format * Refactoring loggers message format * Fix dockstring * Update deps * Fix ValueError * Update deps * Added new handlers: Network and About me * Remove unused variable 'main_keyboard' * Remove unused start statement * Refactoring code; create docstring and comments * Remove unused import * Refactoring code * Refactoring code * Refactoring code * Fixed no method error * Refactoring code * Revert change - needed testing new code * Refactoring code * Refactoring code * Refactoring code * Refactoring code * Refactoring code * Update deps * Refactoring code * Refactoring code * I am beginning to implement tests. * Refactoring About bot handler * Update dependency * Deleted the action to create the image from the dev branch * Refactoring Check bot update handler * Refactoring auth middleware * Update docs * Update docs * Refactoring code * Bump version to 0.0.9 release
- Loading branch information
Showing
57 changed files
with
3,481 additions
and
1,273 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Push Alpine Dev Image | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'development' | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
build-args: --target prod | ||
file: hub.Dockerfile | ||
push: true | ||
tags: orenlab/pytmbot:alpine-dev |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Push Release image to Docker registry | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
contents: read | ||
attestations: write | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 | ||
with: | ||
images: ${{ github.repository }} | ||
|
||
- name: Build and push Docker image | ||
id: push | ||
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 | ||
with: | ||
context: . | ||
build-args: --target prod | ||
file: hub.Dockerfile | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
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
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
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
Oops, something went wrong.