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

View File

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