Skip to content

Commit

Permalink
create test script
Browse files Browse the repository at this point in the history
  • Loading branch information
saleemhamo committed Jul 31, 2024
1 parent 5dfc75d commit 14c3bd5
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
#name: Build and Push Docker Image
#
#on:
# push:
# branches:
# - main
#
#jobs:
# build:
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
#
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
#
# - name: Log in to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
#
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# context: .
# push: true
# tags: saleemhamo/ctfg_pipeline_fine_grained:v0.0
#
# build-args: MOUNTED_CLAIM_DIRECTORY=/mnt/data
name: Build and Push Docker Image

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

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

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: saleemhamo/ctfg_pipeline_test_env:v0.0

build-args: MOUNTED_CLAIM_DIRECTORY=/mnt/data

0 comments on commit 14c3bd5

Please sign in to comment.