Move action to correct directory #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
# To trigger pipeline push a new tag | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }} | |
jobs: | |
docker_push: | |
runs-on: ubuntu-22.04 | |
name: Deploy Image | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get Tag | |
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
- name: Login to Docker Hub as ${{ env.DOCKERHUB_USERNAME }} | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ env.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and Push Images | |
run: make push.docker.all -e HUB=${{ env.DOCKERHUB_USERNAME }} -e TAG=${{ env.TAG }} |