Skip to content

Commit

Permalink
Merge pull request #13 from Xpirix/push_uwsgi_image
Browse files Browse the repository at this point in the history
Push uwsgi image
  • Loading branch information
Xpirix authored Jul 2, 2024
2 parents 54551d4 + a1cc446 commit 5fa0f35
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@v5

- 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@v5
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.1

0 comments on commit 5fa0f35

Please sign in to comment.