ci: better naming for ci

This commit is contained in:
iCrawl
2022-07-20 20:24:09 +02:00
parent 1fb7b30963
commit 8a6ee906a7
6 changed files with 19 additions and 19 deletions

View File

@@ -1,11 +1,10 @@
name: Publish Docker Images
name: Publish dev docker images
on:
workflow_dispatch:
jobs:
docker:
name: Docker
docker-publish:
name: Docker publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
@@ -16,10 +15,10 @@ jobs:
- name: Login to DockerHub
run: echo ${{ secrets.DOCKER_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build the image
- name: Build docker image
run: docker build -t discordjs/proxy:latest -f packages/proxy-container/Dockerfile .
- name: Tag the image with major
- name: Tag image with major
run: docker tag discordjs/proxy discordjs/proxy:$(cut -d '.' -f1 <<< $(jq --raw-output '.version' packages/proxy-container/package.json))
- name: Push image to DockerHub