Skip to content

Commit

Permalink
TMP TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Nov 24, 2024
1 parent 0953149 commit 163a591
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,33 @@ jobs:
fetch-depth: 0
fetch-tags: true
submodules: true
# -
# name: Check checkout
# run: ls -la
-
name: Check checkout
run: ls -la
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
-
name: Push to Docker Hub
uses: docker/build-push-action@v6
with:
# repository: ${{ env.IMAGE_NAME }}
# tag_with_ref: true
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=true
#- name: Push to GitHub Packages
# uses: docker/build-push-action@v2
# with:
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ ENV PATH="${MVD_HOME}/bin:${PATH}"
RUN echo "export PATH=\"${MVD_HOME}/bin:\$PATH\"" >> "$HOME/.profile"
COPY . movedo

RUN ls -la "$MVD_HOME"

# Workaround to get tags, until this bug is solved:
# https://gitlab.com/gitlab-org/gitlab-runner/-/issues/25373
# This also fetches the whole history, as apparently GitLab
Expand Down

0 comments on commit 163a591

Please sign in to comment.