Skip to content

Fix test: modify tests for changes in application #28

Fix test: modify tests for changes in application

Fix test: modify tests for changes in application #28

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKER_USERNAME }}/music-composition:${{ github.sha }}
- name: Login to Docker
run: echo "${{ secrets.DOCKER_PWD_TOKEN }}" | docker login --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Push Docker Image
run: docker push ${{ secrets.DOCKER_USERNAME }}/music-composition:${{ github.sha }}