Skip to content

Commit

Permalink
Module 3 practice
Browse files Browse the repository at this point in the history
  • Loading branch information
truskovskiyk committed Jul 8, 2024
1 parent e8997ee commit 2409051
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 83 deletions.
34 changes: 8 additions & 26 deletions .github/workflows/module-3.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: Module 3

on:
workflow_dispatch:
push:
branches:
- main

pull_request:
branches:
- main


env:
IMAGE_MAIN_NAME: nlp-sample
Expand Down Expand Up @@ -81,28 +88,3 @@ jobs:
# Post reports as comments in GitHub PRs
# cat results.txt >> report.md
cml send-comment README.md
build-push-aim:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build
uses: docker/build-push-action@v2
with:
context: week-3/aim/
file: week-3/aim//Dockerfile
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.IMAGE_AIM_NAME }}:${{ env.IMAGE_AIM_TAG }}
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.IMAGE_AIM_NAME }}:buildcache
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.IMAGE_AIM_NAME }}:buildcache,mode=max
17 changes: 0 additions & 17 deletions module-3/aim/Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions module-3/aim/deployment-aim-web.yaml

This file was deleted.

0 comments on commit 2409051

Please sign in to comment.