Skip to content

Rolled back the updates to index.rst as it has bad links. #14

Rolled back the updates to index.rst as it has bad links.

Rolled back the updates to index.rst as it has bad links. #14

Workflow file for this run

name: Docker
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
release:
types: [ "published" ]
jobs:
test:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: build
uses: docker/[email protected]
with:
push: false
tags: dprohe/sdynpy:test
latest:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: login
uses: docker/[email protected]
with:
username: dprohe
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build-push
uses: docker/[email protected]
with:
push: true
tags: |
dprohe/sdynpy:latest
ghcr.io/sandialabs/sdynpy:latest
versioned:
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- name: tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: true
- name: checkout
uses: actions/checkout@v3
- name: login
uses: docker/[email protected]
with:
username: dprohe
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build-push
uses: docker/[email protected]
with:
push: true
tags: |
dprohe/sdynpy:${{steps.tag.outputs.tag}}
dprohe/sdynpy:latest
ghcr.io/sandialabs/sdynpy:${{steps.tag.outputs.tag}}
ghcr.io/sandialabs/sdynpy:latest