You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
780 B
30 lines
780 B
name: docker-exodus
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
jobs:
|
|
build-latest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Docker login
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
- name: Docker build and push
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
context: docker/exodus
|
|
push: true
|
|
tags: mrbuche/exodus:latest
|
|
- name: Delay before pull
|
|
run: sleep 234s
|
|
test-latest:
|
|
needs: build-latest
|
|
runs-on: ubuntu-latest
|
|
container: mrbuche/exodus
|
|
steps:
|
|
- name: Docker pull and test
|
|
run: |
|
|
python -c 'import exodus3 as exodus'
|
|
|