Fixing image build process #2

Merged
paradizelost merged 5 commits from work into master 2024-11-25 09:16:50 -06:00
2 changed files with 15 additions and 20 deletions

View File

@ -1,4 +1,4 @@
Name: Container Build Check
Name: Terraform Processing
run-name: ${{ gitea.actor }}
on:
push:
@ -9,19 +9,20 @@ on:
jobs:
Plan:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
#
- name: List Contents
id: ls
run: ls -al
- name: Login to repo
id: login
- name: Deploy
run: |
echo "${{ secrets.GITEASECRET_TOKEN }}" | docker login git.hamik.net -u paradizelost --password-stdin
docker build -t git.hamik.net/paradizelost/visubnet:latest .
echo "${{ secrets.GITEASECRET_TOKEN }}" | docker login git.hamik.net -u paradizelost --password-stdin
docker build -t git.hamik.net/paradizelost/visubnet:latest .

View File

@ -17,14 +17,8 @@ jobs:
id: ls
run: ls -al
- name: Login to repo
id: login
run: echo "${{ secrets.GITEASECRET_TOKEN }}" | docker login git.hamik.net -u paradizelost --password-stdin
- name: Build
id: Build Verify
run: docker build -t git.hamik.net/paradizelost/visubnet:latest .
- name: Push to Repository
id: push
run: docker push git.hamik.net/paradizelost/visubnet
- name: Deploy
run: |
echo "${{ secrets.GITEASECRET_TOKEN }}" | docker login git.hamik.net -u paradizelost --password-stdin
docker build -t git.hamik.net/paradizelost/visubnet:latest .
docker push git.hamik.net/paradizelost/visubnet