Merge pull request #5 from cte-zl-ifrn/dependabot/pip/django-5.0.2 #1
Workflow file for this run
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
name: Publish image on DockerHub | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build-container: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Login to DockerHub | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta | |
uses: docker/[email protected] | |
with: | |
images: ctezlifrn/avapainel | |
- name: Build and push | |
uses: docker/[email protected] | |
with: | |
context: src/python/ | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} |