Skip to content

Commit

Permalink
Merge pull request #44 from FaithKovi/faithkovi-patch
Browse files Browse the repository at this point in the history
build: automated docker image build

Closes #43
  • Loading branch information
ibLeDy authored Nov 10, 2022
2 parents ee8c8b8 + 950aeb0 commit 8e2391f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,29 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- 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
id: login-dockerhub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: bledy/timezone-converter:${{ steps.meta.outputs.tags }}


0 comments on commit 8e2391f

Please sign in to comment.