This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
Bump Microsoft.Extensions.Caching.Memory from 6.0.0 to 6.0.2 in /src/Bot #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Hub | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build Docker image | |
run: | | |
docker build -t bot . | |
docker tag bot matteocontrini/expelliarbusbot:latest | |
docker tag bot matteocontrini/expelliarbusbot:$(git rev-parse --short HEAD) | |
docker images | |
- name: Login to Docker Hub | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
run: echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin | |
- name: Push to Docker Hub | |
run: docker push matteocontrini/expelliarbusbot |