Skip to content

Commit

Permalink
action update
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-dupdyke committed Jan 13, 2024
1 parent a308644 commit 449c452
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Extract tag name
- name: Extract tag name
Expand All @@ -28,25 +28,3 @@ jobs:
push: true
context: src
file: src/Dockerfile-api

buildcmusei:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Extract tag name
- name: Extract tag name
id: tag_name
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/})"
shell: bash

- name: Build and push Docker images
uses: docker/build-push-action@v2 # Updated to v2
with:
username: ${{ secrets.BOT_USERNAME }}
password: ${{ secrets.BOT_PASSWORD }}
repository: cmusei/ghosts
tags: cmusei/ghosts:${{ steps.tag_name.outputs.tag }}
push: true
context: src
file: src/Dockerfile-api

0 comments on commit 449c452

Please sign in to comment.