Skip to content

Commit

Permalink
Push uwsgi image (#438)
Browse files Browse the repository at this point in the history
* Add build and push image to DockerHub workflow

* Update to version 2.0.1

* Update image build action version, add docker logout

* Fix the actions versions in build_push_image

* Bump to version 2.0.2
  • Loading branch information
Xpirix authored Jul 2, 2024
1 parent 54551d4 commit a6c9cd3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/build_push_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and Push Docker Image

on:
push:
tags:
- '*'

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} # Using token is recommended

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: dockerize/docker/Dockerfile
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/qgis-plugins-uwsgi:${{ github.ref_name }}
${{ secrets.DOCKER_USERNAME }}/qgis-plugins-uwsgi:latest
- name: Log out from Docker Hub
run: docker logout
2 changes: 1 addition & 1 deletion qgis-app/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.2
2.0.2

0 comments on commit a6c9cd3

Please sign in to comment.