Skip to content

dev(narugo): more scripts #15

dev(narugo): more scripts

dev(narugo): more scripts #15

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-push:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: narugo1992
password: ${{ secrets.DCR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: narugo1992/pytorch-conda-image:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}