This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Updated dependencies #6
Workflow file for this run
This file contains hidden or 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 Docker image | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
push_to_registry: | |
name: Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- name: Log in to Docker Hub | |
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 | |
with: | |
images: stephenafamo/docker-nginx-auto-proxy | |
- name: Build and push Docker image | |
uses: docker/build-push-action@v4 | |
with: | |
file: ./Dockerfile | |
push: true | |
labels: ${{ steps.meta.outputs.labels }} | |
tags: | | |
stephenafamo/docker-nginx-auto-proxy:latest | |
${{ steps.meta.outputs.tags }} | |