Merge pull request 'Fixing image build process' (#2) from work into master

Reviewed-on: #2
This commit is contained in:
paradizelost 2024-11-25 09:16:47 -06:00
commit 0960fe5bf6
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
run: |
echo "${{ secrets.GITEASECRET_TOKEN }}" | docker login git.hamik.net -u paradizelost --password-stdin
docker build -t git.hamik.net/paradizelost/visubnet:latest .
- 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 .

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