Skip to content

Commit

Permalink
Update build-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
B0nam authored Apr 8, 2024
1 parent b8b50a1 commit 97f7477
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,31 @@ run-name: Build and deploy docker images on dockerhub

on: [push]
jobs:
build_job:
build_base_job:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Autenticate with Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Get debian-novnc Base Files
run: wget git@github.com:B0nam/DEBIAN-DOCKER-NOVNC.git

- name: Build debian-novnc Base
run: docker build -t debian-novnc:base DEBIAN-DOCKER-NOVNC/Base/.

- name: Push debian-novnc Base
run: |
docker tag debian-novnc:base "${{ secrets.DOCKERHUB_USERNAME }}/debian-novnc:base"
docker push "${{ secrets.DOCKERHUB_USERNAME }}/debian-novnc:base"
build_doom_job:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 97f7477

Please sign in to comment.