Skip to content

Commit

Permalink
Merge pull request #4 from Overmuse/SR/update_tags
Browse files Browse the repository at this point in the history
change tag format to semver
  • Loading branch information
SebRollen authored Apr 14, 2021
2 parents 3f507c3 + 9385a38 commit ac5586d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 58 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
on:
push:
branches:
- main
paths:
- 'Cargo.toml'
- 'Cargo.lock'
- 'Dockerfile'
- 'deployment.yml'
- 'src/**'
- '.github/**'

name: Deploy
on:
release:
types: [published]

jobs:
cancel-previous:
Expand Down Expand Up @@ -75,7 +66,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: tca
DOCKER_BUILDKIT: 1
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: ${{ github.event.release.name }}
run: |
docker build --ssh default -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tca"
version = "0.1.2"
version = "1.0.0"
authors = ["Sebastian Rollen <[email protected]>"]
edition = "2018"

Expand Down
33 changes: 0 additions & 33 deletions deployment.yml

This file was deleted.

0 comments on commit ac5586d

Please sign in to comment.