From aeed5d22f64babcecb3bf4ef144bea6af09d2c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Neftal=C3=AD=20Yagua?= Date: Sun, 12 Jan 2025 21:40:30 -0500 Subject: [PATCH] Delete .github/workflows/create-docker-hub-image.yml --- .github/workflows/create-docker-hub-image.yml | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/create-docker-hub-image.yml diff --git a/.github/workflows/create-docker-hub-image.yml b/.github/workflows/create-docker-hub-image.yml deleted file mode 100644 index 27c54d31..00000000 --- a/.github/workflows/create-docker-hub-image.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Publish Image in Docker Hub - -on: - push: - branches: [master] - -jobs: - build: - runs-on: ubuntu-latest - env: - DOCKER_ORGANIZATION: ${{secrets.DOCKER_ORGANIZATION}} - WEB_APP_VERSION: ${{secrets.WEB_APP_LATEST_STABLE_VERSION}} - - steps: - - uses: actions/checkout@v2 - - - name: Docker Hub Login - env: - DOCKER_USER: ${{secrets.DOCKER_USER}} - DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} - run: | - echo $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin - - - name: Build the Docker image - run: docker build -t web-app:latest . - - - name: Docker Hub Prepare - run: docker image tag web-app $DOCKER_ORGANIZATION/web-app:$WEB_APP_VERSION - - - name: Docker Hub Push - run: docker image push $DOCKER_ORGANIZATION/web-app:$WEB_APP_VERSION