Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
reganmaharjan authored Apr 6, 2024
1 parent 7315993 commit 8e837c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
run: |
# Replace @ with %40 in the password for URL encoding
ENCODED_PASSWORD=$(echo $GITLAB_PASSWORD | sed 's/@/%40/g')
git clone --depth=1 --single-branch --branch master https://${GITLAB_USERNAME}:${ENCODED_PASSWORD}@git2023.olenepal.org/regan/epaath_es_oneactivity_project.git cloned_repo
git clone --depth=1 --single-branch --branch master https://${GITLAB_USERNAME}:${ENCODED_PASSWORD}@git2023.olenepal.org/regan/epaath_es_oneactivity_project.git
- name: Login to Docker
run: |
Expand All @@ -116,7 +116,7 @@ jobs:
repo="rayheyehygun/epaath"
dest="$repo:${{ matrix.arch }}"
date="$(date +%Y%m%d%H%M)"
docker build -t $dest --build-arg BASE=$base ./cloned_repo
docker build -t $dest --build-arg BASE=$base ./
docker tag $dest docker.io/$dest
docker tag $dest $dest-$date
docker push --all-tags docker.io/$repo
Expand Down

0 comments on commit 8e837c0

Please # to comment.