Skip to content

Commit

Permalink
Merge pull request #1 from kkacsh321/fix-stuff
Browse files Browse the repository at this point in the history
Updating actions, fixing docker push
  • Loading branch information
kkacsh321 authored Oct 8, 2024
2 parents f47a789 + 971e977 commit 8b194e3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# default PR approval
* @kkacsh321
2 changes: 1 addition & 1 deletion .github/workflows/autorelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Publish release
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Publish release
uses: eloquent/github-release-action@v3
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docker_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Login to Docker Registry
env:
Expand All @@ -34,17 +34,17 @@ jobs:
docker context create builders
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
version: latest
endpoint: builders

- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-single-buildx-${{ github.sha }}
Expand All @@ -61,12 +61,12 @@ jobs:
id: get_version
run: echo "VERSION=$(task version)" >> "$GITHUB_ENV"

# Build multi-stage Docker image for kacsh.com
# Build multi-stage Docker image
- name: Build Docker Robotf image
run: |
task docker-load
# Publish image to Internal Harbor Registry
- name: Push Image to Harbor
# Publish image to Registry
- name: Push Image to DockerHub
run: |
task docker-push
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8505

# Run streamlit when the container launches
CMD ["streamlit", "run", "RoboTF_Halloween_Stories.py"]
CMD ["streamlit", "run", "RoboTF_Halloween_Stories.py", "--server.port", "8505"]
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: "3"

vars:
IMAGE_VERSION: "v0.0.1"
IMAGE_NAME: "robotf-halloween-stories"
IMAGE_VERSION: "v0.0.2"
IMAGE_NAME: "robotf/robotf-halloween-stories"

tasks:
default:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "robotf-halloween-stories",
"version": "v0.0.1"
"version": "v0.0.2"
}

0 comments on commit 8b194e3

Please sign in to comment.