Skip to content

Delete .github/workflows/ci-cd-main.yml #3

Delete .github/workflows/ci-cd-main.yml

Delete .github/workflows/ci-cd-main.yml #3

Workflow file for this run

name: Build & Push - Test
on:
push:
branches: [test]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build & push test image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ format('{0}/python-sample:main', secrets.DOCKER_USERNAME) }}