Skip to content

Commit

Permalink
GA: add on-demand workflow for ubuntu-deps [noCI]
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliendavid committed Jan 15, 2025
1 parent e075efa commit 75584f2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ubuntu-deps-on-demand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ubuntu-deps
run-name: build ubuntu-deps images
on: workflow_dispatch

jobs:
linux-image-deploy:
runs-on: ubuntu-latest
#if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: build image
run: docker build -t gpac-ubuntu-deps -f build/docker/ubuntu-deps.Dockerfile .
- name: check docker images
run: docker image list
- name: check docker run
run: docker run gpac-ubuntu-deps || true
- name: login docker hub
run: docker login --username gpac --password ${{secrets.DOCKER_HUB_TOKEN}}
- name: tag docker image
run: docker tag gpac-ubuntu-deps gpac/ubuntu-deps:latest
- name: push docker image
run: docker push gpac/ubuntu-deps:latest

0 comments on commit 75584f2

Please sign in to comment.