Skip to content

python2 语法的脚本转为 python3 语法 #58

python2 语法的脚本转为 python3 语法

python2 语法的脚本转为 python3 语法 #58

Workflow file for this run

name: Update dockerhub
on:
push:
branches:
- 'master'
- 'ci-docker'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ctfwiki/ctf-wiki:latest