Fixing image build process #2
@ -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 .
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user